Function at 0x45d790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x6eb3c0]
sub esp, 0x630
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x45e361
mov eax, dword [0x70b25c]
mov ecx, dword [eax + 0x54]
mov dword [esp + 0xc], 0x3f800000
mov edx, dword [esp + 0xc]
push ebp
mov dword [esp + 0x14], 0x3eeaeaeb
mov eax, dword [esp + 0x14]
mov dword [0x6dddcc], ecx
mov dword [0x6dddd8], edx
mov dword [esp + 0x18], 0x3f3ababb
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], 0x3f800000
mov edx, dword [esp + 0x1c]
mov dword [0x6ddddc], eax
mov eax, dword [0x738ba0]
push esi
mov dword [0x6ddde0], ecx
mov dword [0x6ddde4], edx
mov word [0x6dddd4], 0xffff
mov word [0x6dddd6], bx
mov dword [0x6dddd0], ebx
cmp dword [eax + 0x140], ebx
push edi
mov ebp, 0x15e
mov edi, 0x19a
mov esi, 0x1f4
mov word [esp + 0x38], 0x32
mov word [esp + 0x3a], 0x7d
mov word [esp + 0x3c], 0xfa
mov word [esp + 0x3e], bp
mov word [esp + 0x40], di
mov word [esp + 0x42], si
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x70], 0x3f800000
mov dword [esp + 0x2c], 0x3f7ae148
mov dword [esp + 0x30], 0x3f75c28f
mov dword [esp + 0x34], 0x3f75c28f
mov dword [esp + 0x28], 0x3f800000
je 0x45d898
mov eax, dword [eax + 0x144]
jmp 0x45d89a
xor eax, eax
mov ecx, dword [eax + 0x6c]
mov eax, dword [0x86cff4]
and ecx, 0xffff
shl ecx, 5
mov ecx, dword [ecx + eax + 0x14]
mov edx, dword [ecx + 0x3d4]
and edx, 0xffff
shl edx, 5
mov eax, dword [edx + eax + 0x14]
cmp eax, ebx
mov word [esp + 0x12], bx
mov word [esp + 0x10], bx
mov word [esp + 0x16], 0x280
mov word [esp + 0x14], 0x1e0
je 0x45d908
cmp dword [eax + 0x60], ebx
jle 0x45d908
cmp dword [eax + 0x64], ebx
je 0x45d908
xor ecx, ecx
cmp eax, ebx
je 0x45d8f6
cmp dword [eax + 0x60], ebx
jle 0x45d8f6
mov ecx, dword [eax + 0x64]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00497070
add esp, 0xc
cmp byte [0x6eb35c], bl
je 0x45daaa
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov word [esp + 0x50], 0x32
mov word [esp + 0x52], 0xc8
mov word [esp + 0x54], 0x12c
mov word [esp + 0x56], bp
mov word [esp + 0x58], di
mov word [esp + 0x5a], si
mov dword [esp + 0x14], 1
call fcn.004635f0
push str.uimultiplayer_game_text
mov edi, 0x75737472
mov esi, eax
call fcn.00442550
add esp, 4
cmp eax, 0xffffffff
je 0x45d9a2
mov ecx, dword [0x86cff4]
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + ecx + 0x14]
cmp dword [eax], 0x41
mov edx, 0x66b918
jle 0x45d99c
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x514]
add eax, 0x514
cmp ecx, ebx
jle 0x45d99c
mov edx, dword [eax + 0xc]
shr ecx, 1
mov word [edx + ecx*2 - 2], bx
mov dword [esp + 0x44], edx
jmp 0x45d9aa
mov dword [esp + 0x44], 0x65b9d4
push str.uimultiplayer_game_text
mov edi, 0x75737472
call fcn.00442550
add esp, 4
cmp eax, 0xffffffff
je 0x45da04
mov ecx, dword [0x86cff4]
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + ecx + 0x14]
cmp dword [eax], 0x42
mov edx, 0x66b918
jle 0x45d9f9
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x528]
add eax, 0x528
cmp ecx, ebx
jle 0x45d9f9
mov edx, dword [eax + 0xc]
shr ecx, 1
mov word [edx + ecx*2 - 2], bx
mov dword [esp + 0x48], edx
mov ebp, 0x65b9d4
jmp 0x45da0d
mov ebp, 0x65b9d4
mov dword [esp + 0x48], ebp
cmp esi, ebx
jne 0x45da1d
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov word [0x6ddde8], 6
mov dword [0x6dddea], edx
mov dword [0x6dddee], eax
mov dword [0x6dddf2], ecx
xor esi, esi
jmp 0x45da50
mov edi, dword [esp + esi*4 + 0x10]
mov eax, dword [0x6eb3c0]
lea edx, [esp + 0x280]
push edx
push edi
call dword [eax + 0x5c]
mov edx, dword [esp + edi*4 + 0x4c]
lea ecx, [esp + 0x288]
push ecx
push edx
lea eax, [esp + 0x90]
push eax
mov edx, 0x100
call fcn.005532f0
lea edx, [esp + 0x94]
push ebx
lea ecx, [esi + 4]
push edx
mov word [esp + 0x29a], bx
call fcn.0045d700
add esp, 0x1c
inc esi
cmp esi, 2
jl 0x45da50
xor ebx, ebx
jmp 0x45daaf
mov ebp, 0x65b9d4
push str.uimultiplayer_game_text
mov edi, 0x75737472
call fcn.00442550
add esp, 4
cmp eax, 0xffffffff
je 0x45db04
mov ecx, dword [0x86cff4]
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + ecx + 0x14]
cmp dword [eax], 0x43
mov edx, 0x66b918
jle 0x45dafe
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x53c]
add eax, 0x53c
cmp ecx, ebx
jle 0x45dafe
mov edx, dword [eax + 0xc]
shr ecx, 1
mov word [edx + ecx*2 - 2], bx
mov dword [esp + 0x50], edx
jmp 0x45db08
mov dword [esp + 0x50], ebp
push str.uimultiplayer_game_text
mov edi, 0x75737472
call fcn.00442550
add esp, 4
cmp eax, 0xffffffff
je 0x45db5d
mov ecx, dword [0x86cff4]
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + ecx + 0x14]
cmp dword [eax], 0x44
mov edx, 0x66b918
jle 0x45db57
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x550]
add eax, 0x550
cmp ecx, ebx
jle 0x45db57
mov edx, dword [eax + 0xc]
shr ecx, 1
mov word [edx + ecx*2 - 2], bx
mov dword [esp + 0x54], edx
jmp 0x45db61
mov dword [esp + 0x54], ebp
push str.uimultiplayer_game_text
mov edi, 0x75737472
call fcn.00442550
add esp, 4
cmp eax, 0xffffffff
je 0x45dbb6
mov ecx, dword [0x86cff4]
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + ecx + 0x14]
cmp dword [eax], 0x45
mov edx, 0x66b918
jle 0x45dbb0
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x564]
add eax, 0x564
cmp ecx, ebx
jle 0x45dbb0
mov edx, dword [eax + 0xc]
shr ecx, 1
mov word [edx + ecx*2 - 2], bx
mov dword [esp + 0x58], edx
jmp 0x45dbba
mov dword [esp + 0x58], ebp
push str.uimultiplayer_game_text
mov edi, 0x75737472
call fcn.00442550
add esp, 4
cmp eax, 0xffffffff
je 0x45dc0d
mov ecx, dword [0x86cff4]
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + ecx + 0x14]
cmp dword [eax], 0x46
mov edx, 0x66b918
jle 0x45dc09
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x578]
add eax, 0x578
cmp ecx, ebx
jle 0x45dc09
mov edx, dword [eax + 0xc]
shr ecx, 1
mov word [edx + ecx*2 - 2], bx
mov ebp, edx
jmp 0x45dc12
mov ebp, 0x65b9d4
push str.uimultiplayer_game_text
mov edi, 0x75737472
call fcn.00442550
add esp, 4
cmp eax, 0xffffffff
je 0x45dc63
mov edx, dword [0x86cff4]
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + edx + 0x14]
cmp dword [eax], 0x47
mov esi, 0x66b918
jle 0x45dc68
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x58c]
add eax, 0x58c
cmp ecx, ebx
jle 0x45dc68
mov esi, dword [eax + 0xc]
shr ecx, 1
mov word [esi + ecx*2 - 2], bx
jmp 0x45dc68
mov esi, 0x65b9d4
mov ecx, dword [0x6eb3c0]
lea eax, [esp + 0x280]
push eax
call dword [ecx + 0x58]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push esi
push ebp
push edx
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x290]
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push str._t_s_t_s_t_s_t_s_t_s_t_s
push eax
mov edx, 0x100
call fcn.005532f0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [0x6dddea], ecx
lea ecx, [esp + 0xa4]
push ebx
push ecx
mov ecx, 7
mov word [esp + 0x2aa], bx
mov word [0x6ddde8], 6
mov dword [0x6dddee], edx
mov dword [0x6dddf2], eax
call fcn.0045d700
lea edx, [esp + 0x4ac]
push edx
mov ebx, 0xc
xor eax, eax
call fcn.0045d530
add esp, 0x30
test eax, eax
jle 0x45e218
lea ecx, [esp + 0x498]
mov esi, 8
mov dword [esp + 0x44], ecx
mov dword [esp + 0x10], eax
lea ecx, [ecx]
mov eax, dword [esp + 0x44]
mov ebp, dword [eax - 0x18]
mov edx, dword [0x86b840]
mov edi, dword [edx + 0x34]
mov ebx, ebp
and ebx, 0xffff
shl ebx, 9
add ebx, edi
cmp word [ebx + 2], 0xffff
je 0x45dd62
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [0x6dddd8], ecx
mov ecx, dword [esp + 0x78]
mov dword [0x6ddddc], edx
mov edx, dword [esp + 0x7c]
jmp 0x45dd7e
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [0x6dddd8], ecx
mov ecx, dword [esp + 0x20]
mov dword [0x6ddddc], edx
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
and eax, 0x7f
mov dword [0x6ddde0], ecx
mov ecx, dword [esp + 0x38]
mov dword [0x6ddde4], edx
mov edx, dword [esp + 0x3c]
mov dword [0x6dddea], ecx
mov ecx, dword [esp + 0x40]
mov word [0x6ddde8], 6
mov dword [0x6dddee], edx
mov dword [0x6dddf2], ecx
jge 0x45ddc2
mov dword [esp + 0x4c], 0
jmp 0x45ddd3
cmp eax, 0xf
mov dword [esp + 0x4c], 0xf
jg 0x45ddd3
mov dword [esp + 0x4c], eax
push str.uimultiplayer_game_text
mov edi, 0x75737472
call fcn.00442550
add esp, 4
cmp eax, 0xffffffff
je 0x45de33
mov ecx, dword [esp + 0x4c]
mov edi, dword [0x86cff4]
and eax, 0xffff
add ecx, 0x24
shl eax, 5
test cx, cx
mov eax, dword [eax + edi + 0x14]
mov edx, 0x66b918
jl 0x45de38
mov edi, dword [eax]
movsx ecx, cx
cmp ecx, edi
jge 0x45de38
mov eax, dword [eax + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
test eax, eax
jle 0x45de38
mov edx, dword [ecx + 0xc]
shr eax, 1
mov word [edx + eax*2 - 2], 0
jmp 0x45de38
mov edx, 0x65b9d4
push edx
lea ecx, [esp + 0x84]
push str.__t_s
push ecx
mov edx, 0x100
call fcn.005532f0
lea edx, [esp + 0x8c]
push 0
push edx
mov ecx, esi
mov word [esp + 0x292], 0
call fcn.0045d700
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [0x6dddd8], eax
mov eax, dword [esp + 0x38]
mov dword [0x6ddde4], eax
mov al, byte [0x6eb35c]
add esp, 0x14
test al, al
mov dword [0x6ddddc], ecx
mov dword [0x6ddde0], edx
je 0x45df1a
mov eax, dword [ebx + 0x20]
test eax, eax
mov dword [esp + 0x54], 0x3f4ccccd
mov dword [esp + 0x58], 0x3ecccccd
mov dword [esp + 0x5c], 0x3ecccccd
mov dword [esp + 0x50], 0x3f800000
mov dword [esp + 0x64], 0x3ecccccd
mov dword [esp + 0x68], 0x3ecccccd
mov dword [esp + 0x6c], 0x3f4ccccd
mov dword [esp + 0x60], 0x3f800000
jge 0x45dee8
xor eax, eax
jmp 0x45def2
cmp eax, 1
jle 0x45def2
mov eax, 1
shl eax, 4
lea ecx, [esp + eax + 0x50]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [0x6dddd8], edx
mov edx, dword [ecx + 8]
mov dword [0x6ddddc], eax
mov eax, dword [ecx + 0xc]
mov dword [0x6ddde0], edx
mov dword [0x6ddde4], eax
lea ecx, [ebx + 4]
push ecx
lea edx, [esp + 0x84]
push str.__t__t_s
push edx
mov edx, 0x100
call fcn.005532f0
lea eax, [esp + 0x8c]
push 0
push eax
mov ecx, esi
mov word [esp + 0x292], 0
call fcn.0045d700
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [0x6dddd8], ecx
mov ecx, dword [esp + 0x38]
mov dword [0x6ddde0], eax
push 0
mov eax, 1
mov edi, ebp
mov dword [0x6ddddc], edx
mov dword [0x6ddde4], ecx
call fcn.0045d4d0
add esp, 0x18
test eax, eax
jne 0x45dfb3
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x6dddd8], edx
mov edx, dword [esp + 0x34]
mov dword [0x6ddddc], eax
mov dword [0x6ddde0], ecx
mov dword [0x6ddde4], edx
mov ecx, dword [0x6eb3c0]
lea eax, [esp + 0x280]
push eax
push ebp
call dword [ecx + 0x54]
lea edx, [esp + 0x288]
push edx
lea eax, [esp + 0x8c]
push str.__t__t__t_s
push eax
mov edx, 0x100
call fcn.005532f0
lea ecx, [esp + 0x94]
push 0
push ecx
mov ecx, esi
mov word [esp + 0x29a], 0
call fcn.0045d700
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [0x6dddd8], edx
mov edx, dword [esp + 0x40]
mov dword [0x6ddddc], eax
push 0
mov eax, 2
mov edi, ebp
mov dword [0x6ddde0], ecx
mov dword [0x6ddde4], edx
call fcn.0045d4d0
add esp, 0x20
test eax, eax
jne 0x45e061
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [0x6dddd8], eax
mov eax, dword [esp + 0x34]
mov dword [0x6ddddc], ecx
mov dword [0x6ddde0], edx
mov dword [0x6ddde4], eax
movsx ecx, word [ebx + 0x9c]
push ecx
lea edx, [esp + 0x84]
push str.__t__t__t__t_d
push edx
mov edx, 0x100
call fcn.005532f0
lea eax, [esp + 0x8c]
push 0
push eax
mov ecx, esi
mov word [esp + 0x292], 0
call fcn.0045d700
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [0x6dddd8], ecx
mov ecx, dword [esp + 0x38]
mov dword [0x6ddde0], eax
push 0
mov eax, 3
mov edi, ebp
mov dword [0x6ddddc], edx
mov dword [0x6ddde4], ecx
call fcn.0045d4d0
add esp, 0x18
test eax, eax
jne 0x45e0fe
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x6dddd8], edx
mov edx, dword [esp + 0x34]
mov dword [0x6ddddc], eax
mov dword [0x6ddde0], ecx
mov dword [0x6ddde4], edx
movsx eax, word [ebx + 0xa4]
push eax
lea ecx, [esp + 0x84]
push str.__t__t__t__t__t_d
push ecx
mov edx, 0x100
call fcn.005532f0
lea edx, [esp + 0x8c]
push 0
push edx
mov ecx, esi
mov word [esp + 0x292], 0
call fcn.0045d700
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [0x6dddd8], eax
mov eax, dword [esp + 0x38]
mov dword [0x6ddde4], eax
push 0
mov eax, 4
mov edi, ebp
mov dword [0x6ddddc], ecx
mov dword [0x6ddde0], edx
call fcn.0045d4d0
add esp, 0x18
test eax, eax
jne 0x45e19a
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [0x6dddd8], ecx
mov ecx, dword [esp + 0x34]
mov dword [0x6ddddc], edx
mov dword [0x6ddde0], eax
mov dword [0x6ddde4], ecx
movsx edx, word [ebx + 0xae]
push edx
lea eax, [esp + 0x84]
push str.__t__t__t__t__t__t_d
push eax
mov edx, 0x100
call fcn.005532f0
lea ecx, [esp + 0x8c]
push 0
push ecx
mov ecx, esi
mov word [esp + 0x292], 0
call fcn.0045d700
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov dword [0x6dddf2], ecx
mov ecx, dword [esp + 0x58]
mov dword [0x6dddee], eax
mov eax, dword [esp + 0x24]
add esp, 0x14
add ecx, 0x1c
inc esi
dec eax
mov word [0x6ddde8], 6
mov dword [0x6dddea], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x10], eax
jne 0x45dd20
mov eax, dword [0x7b49cc]
mov ecx, dword [esp + 0x18]
mov di, word [0x7b49c2]
mov edx, dword [0x7b49c8]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [0x86bdec]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [0x7b49c0]
neg eax
add word [esp + 0x14], ax
shr ebx, 0x10
sub bx, di
lea edi, [eax + 0x19a]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
mov word [esp + 0x16], bx
xor ebx, ebx
mov dword [0x6dddd8], eax
cmp dword [0x70e01c], ebx
mov word [esp + 0x10], di
mov word [0x6ddde8], bx
mov dword [0x6ddddc], ecx
mov dword [0x6ddde0], edx
mov dword [0x6ddde4], esi
mov edi, 0x75737472
push str.uimultiplayer_game_text
je 0x45e2fd
mov word [esp + 0x16], 0x118
call fcn.00442550
add esp, 4
cmp eax, 0xffffffff
je 0x45e34b
mov ecx, dword [0x86cff4]
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + ecx + 0x14]
cmp dword [eax], 0x48
mov edx, 0x66b918
jle 0x45e350
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x5a0]
add eax, 0x5a0
cmp ecx, ebx
jle 0x45e350
mov edx, dword [eax + 0xc]
shr ecx, 1
mov word [edx + ecx*2 - 2], bx
jmp 0x45e350
mov word [esp + 0x16], 0x1a4
call fcn.00442550
add esp, 4
cmp eax, 0xffffffff
je 0x45e34b
mov ecx, dword [0x86cff4]
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + ecx + 0x14]
cmp dword [eax], 0x49
mov edx, 0x66b918
jle 0x45e350
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x5b4]
add eax, 0x5b4
cmp ecx, ebx
jle 0x45e350
mov edx, dword [eax + 0xc]
shr ecx, 1
mov word [edx + ecx*2 - 2], bx
jmp 0x45e350
mov edx, 0x65b9d4
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.00499330
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x630
ret