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

Disassembly:
push 0xffffffffffffffff
push 0x4c9af0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eadc8]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, ebx
call fcn.004502c0
mov esi, eax
mov eax, dword [ebx + 0xb90]
mov dword [esp + 0x24], eax
mov eax, dword [0x639334]
xor ebp, ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], 0x3e8
cmp eax, 5
ja case.default.0x4537fb
jmp dword [eax*4 + 0x4540a4]
lea ecx, [esi - 1]
cmp ecx, 3
ja 0x45383e
mov ecx, dword [ebx + esi*4 + 0xb0c]
movsx edx, word [ecx + 2]
mov edi, dword [0x4f78e8]
movsx eax, word [ecx]
push 0x10
push edi
movsx edi, word [ecx + 6]
movsx ecx, word [ecx + 4]
add edi, edx
add ecx, eax
push edi
push ecx
mov ecx, dword [0x4f78ec]
push edx
call fcn.0043e880
add esp, 0x14
mov edx, dword [0x6391d8]
mov eax, dword [0x4efb90]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.00489780
mov dword [esp + 0x94], 0
test esi, esi
je 0x453869
mov dword [0x68924c], esi
mov eax, dword [0x68924c]
sub eax, 1
je 0x4538df
sub eax, 3
jne 0x453953
push 0x323232
push 0xffc8c8
lea ecx, [esp + 0x30]
call fcn.00483ce0
push 0x1b3
push pe_nt_image_headers32
mov edi, 0x4df780
call fcn.004021e0
push eax
lea ecx, [esp + 0x34]
call fcn.00487380
push 0x323232
push 0xc8c8c8
lea ecx, [esp + 0x30]
call fcn.00483ce0
push 0x4df5ac
push 0x1c7
push pe_nt_image_headers32
lea ecx, [esp + 0x34]
call fcn.00487220
push 0x4df5bc
jmp 0x453940
push 0x323232
push 0xffc8c8
lea ecx, [esp + 0x30]
call fcn.00483ce0
push 0x1b3
push pe_nt_image_headers32
mov edi, 0x4df78c
call fcn.004021e0
push eax
lea ecx, [esp + 0x34]
call fcn.00487380
push 0x323232
push 0xc8c8c8
lea ecx, [esp + 0x30]
call fcn.00483ce0
push 0x4df5e0
push 0x1c7
push pe_nt_image_headers32
lea ecx, [esp + 0x34]
call fcn.00487220
push 0x4df5f0
push 0x1db
push pe_nt_image_headers32
lea ecx, [esp + 0x34]
call fcn.00487220
push 0x203
push 0x5a
mov edi, 0x4df604
call fcn.004021e0
push eax
lea ecx, [esp + 0x34]
call fcn.00487380
lea ecx, [esp + 0x28]
jmp 0x453c83
push 0
push 0
mov eax, 8
mov edx, ebx
call fcn.0044f9d0
mov ecx, dword [ebx + 0xa48]
mov eax, dword [ebx + 0xa4c]
mov edx, dword [ecx + 8]
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov edi, 0x4edae0
mov eax, 1
mov ebp, 0x1ae
mov dword [esp + 0x14], eax
mov esi, 0x159
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov ecx, dword [edi - 4]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [0x4efb90]
push edx
push ebp
push esi
call fcn.0047b700
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [0x4efb90]
push ebp
push esi
cmp dword [0x639338], eax
jne 0x453a22
call fcn.0047bee0
movzx edx, byte [0x4efb84]
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4efb90]
neg edx
sbb edx, edx
and edx, 0x8000
add edx, 0x7fff
push edx
push 0xa
push eax
push ebp
push esi
call fcn.0047c8a0
jmp 0x453a27
call fcn.0047bee0
inc dword [esp + 0x14]
add esi, 0x1e
add edi, 0xc
cmp esi, 0x1d1
jl 0x4539b9
mov eax, dword [esp + 0x14]
add ebp, 0x23
cmp ebp, 0x1f4
jl 0x4539b0
mov edi, ebx
call fcn.00450230
cmp eax, 5
jne 0x453a6a
push 0
push 0
mov edx, ebx
call fcn.0044f9d0
mov edi, 0x4df644
jmp 0x453a7f
cmp eax, 6
jne 0x453a94
push 0
push 0
mov edx, ebx
call fcn.0044f9d0
mov edi, 0x4df660
call fcn.004021e0
mov ecx, dword [esp + 0x9c]
push eax
call fcn.004421b0
add esp, 4
mov edx, dword [0x6391d8]
mov eax, dword [0x4efb90]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.00489780
push 0x203
mov ebp, 1
push 0x5a
mov edi, 0x4df678
mov dword [esp + 0x9c], ebp
call fcn.004021e0
push eax
lea ecx, [esp + 0x34]
call fcn.00487380
mov ecx, dword [0x639330]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x28]
jmp 0x453c7b
push 0
push 0
mov eax, 9
mov edx, ebx
call fcn.0044f9d0
cmp byte [0x680bc4], 0
jne 0x453b55
mov edx, dword [0x6391d8]
mov eax, dword [0x4efb90]
push edx
push eax
lea ecx, [esp + 0x58]
call fcn.00489780
mov esi, dword [esp + 0x9c]
push 0x1c5
push 0x145
lea ecx, [esi + 0x1280]
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa0], 2
call fcn.00487380
lea ecx, [esp + 0x50]
mov dword [esp + 0x94], 0xffffffff
call fcn.004897b0
jmp 0x453b5c
mov esi, dword [esp + 0x9c]
mov edi, ebx
call fcn.00450230
cmp eax, 5
jne 0x453b7a
push 0
push 0
mov edx, ebx
call fcn.0044f9d0
mov edi, 0x4df6b8
jmp 0x453b94
cmp eax, 6
jne 0x453ba4
push 0
push 0
mov eax, 7
mov edx, ebx
call fcn.0044f9d0
mov edi, 0x4df6cc
call fcn.004021e0
push eax
mov ecx, esi
call fcn.004421b0
add esp, 4
mov eax, dword [0x6391d8]
mov ecx, dword [0x4efb90]
mov edx, dword [0x639330]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], 0x7d0
mov dword [esp + 0x20], edx
mov ebp, 1
call fcn.00489780
push 0x203
push 0x5a
mov edi, 0x4df6e0
mov dword [esp + 0x9c], 3
call fcn.004021e0
push eax
lea ecx, [esp + 0x70]
call fcn.00487380
lea ecx, [esp + 0x64]
jmp 0x453c83
push 0
push 0
mov eax, 9
mov edx, ebx
call fcn.0044f9d0
mov edx, dword [0x6391d8]
mov eax, dword [0x4efb90]
push edx
push eax
lea ecx, [esp + 0x80]
call fcn.00489780
mov ecx, dword [esp + 0x9c]
push 0x1c5
add ecx, 0x1280
push 0x145
push ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0xa0], 4
call fcn.00487380
push 0
push 0
mov eax, 7
mov edx, ebx
call fcn.0044f9d0
mov edx, dword [0x639330]
mov dword [esp + 0x18], edx
mov ebp, 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], 0x7d0
mov dword [esp + 0x94], 0xffffffff
call fcn.004897b0
mov eax, dword [0x6392c0]
cmp eax, 1
je 0x453cab
cmp eax, 2
je 0x453cab
cmp eax, 3
jne 0x453d7b
mov edi, ebx
call fcn.00450230
cmp eax, 0x11
jne 0x453cbf
mov eax, dword [ebx + 0xa54]
jmp 0x453cc5
mov eax, dword [ebx + 0xa50]
test eax, eax
je 0x453d1d
cmp byte [eax + 0x14], 0
movsx edx, word [ebx + 0x97a]
movsx ecx, word [ebx + 0x97c]
je 0x453d1d
mov esi, dword [eax + 4]
test esi, esi
je 0x453d00
push esi
movsx esi, word [eax + 0xe]
movsx eax, word [eax + 0xc]
add esi, ecx
mov ecx, dword [0x4efb90]
push esi
add eax, edx
push eax
call fcn.0047d6a0
jmp 0x453d1d
mov esi, dword [eax + 8]
push esi
movsx esi, word [eax + 0xe]
add esi, ecx
movsx ecx, word [eax + 0xc]
add ecx, edx
push esi
push ecx
mov ecx, dword [0x4efb90]
call fcn.0047bee0
mov eax, dword [ebx + 0xa5c]
test eax, eax
je 0x453d7b
cmp byte [eax + 0x14], 0
movsx ecx, word [ebx + 0x97c]
movsx edx, word [ebx + 0x97a]
je 0x453d7b
mov esi, dword [eax + 4]
test esi, esi
je 0x453d5e
push esi
movsx esi, word [eax + 0xe]
movsx eax, word [eax + 0xc]
add esi, ecx
mov ecx, dword [0x4efb90]
push esi
add eax, edx
push eax
call fcn.0047d6a0
jmp 0x453d7b
mov esi, dword [eax + 8]
push esi
movsx esi, word [eax + 0xe]
add esi, ecx
movsx ecx, word [eax + 0xc]
add ecx, edx
push esi
push ecx
mov ecx, dword [0x4efb90]
call fcn.0047bee0
test ebp, ebp
je 0x453e6b
mov eax, dword [0x639330]
push 0
push 0
mov edx, ebx
call fcn.0044f9d0
mov edx, dword [0x639330]
mov eax, dword [ebx + edx*4 + 0xa34]
mov ecx, dword [eax + 8]
mov eax, dword [0x639338]
lea eax, [eax + eax*2]
mov edx, dword [eax*4 + 0x4edad8]
lea eax, [eax*4 + 0x4edad0]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push ecx
mov ecx, dword [0x4efb90]
push 0x3c
push 0x50
call fcn.0047b700
add ebx, 0xb10
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
movsx ebx, word [eax + 6]
mov edx, dword [esp + 0x1c]
movsx esi, word [eax + 2]
movsx ebp, word [eax + 4]
movsx edi, word [eax]
cmp edx, dword [0x639330]
mov eax, ebx
cdq
jne 0x453e30
sub eax, edx
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
push 0x10
add eax, edi
push eax
lea eax, [esi + ebx]
push eax
lea edx, [edi + ebp]
sar ecx, 1
push edx
add ecx, esi
push esi
mov eax, edi
call fcn.0043e880
add esp, 0x14
jmp 0x453e54
sub eax, edx
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, edi
push eax
lea eax, [esi + ebx]
push eax
add ebp, edi
sar ecx, 1
push ebp
add ecx, esi
push esi
mov eax, edi
call fcn.0043eb00
add esp, 0x10
mov eax, dword [esp + 0x1c]
add dword [esp + 0x20], 4
inc eax
cmp eax, 4
mov dword [esp + 0x1c], eax
jle 0x453de3
call dword [fcn.006392bc]
mov edi, eax
mov eax, dword [0x689244]
cmp edi, eax
jl 0x453f1e
test eax, eax
jne 0x453ea9
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x30]
mov ecx, dword [0x689240]
mov eax, dword [edx + ecx*8 + 4]
imul eax, eax, 0x3e8
cdq
idiv dword [esp + 0x14]
add eax, edi
mov dword [0x689244], eax
jmp 0x453f24
mov ecx, dword [0x689240]
mov edx, dword [esp + 0x24]
inc ecx
mov esi, edi
sub esi, eax
mov dword [0x689240], ecx
movsx eax, word [edx + 6]
cmp ecx, eax
jl 0x453eea
mov eax, dword [0x689248]
xor ecx, ecx
cmp eax, 0xff
je 0x453ede
cmp eax, ecx
je 0x453f10
dec eax
mov dword [0x689248], eax
mov dword [0x689244], ecx
mov dword [0x689240], ecx
mov edx, dword [edx + 0x30]
mov eax, dword [edx + ecx*8 + 4]
imul eax, eax, 0x3e8
cdq
idiv dword [esp + 0x14]
add eax, edi
cmp eax, esi
mov dword [0x689244], eax
jle 0x453f24
sub eax, esi
mov dword [0x689244], eax
jmp 0x453f24
mov dword [0x689240], ecx
mov dword [0x689244], ecx
jmp 0x453f24
mov ecx, dword [0x689240]
mov edi, dword [esp + 0x24]
push 0
call fcn.0046b390
mov ecx, dword [esp + 0x18]
dec ecx
cmp ecx, 3
ja case.default.0x453f39
jmp dword [ecx*4 + 0x4540bc]
mov eax, dword [eax + 0xc]
push eax
push 0x57
push 0x8c
jmp 0x453f72
mov ecx, dword [eax + 0xc]
push ecx
push 0x57
push 0x122
jmp 0x453f72
mov edx, dword [eax + 0xc]
push edx
push 0x57
push 0x1b3
jmp 0x453f72
mov eax, dword [eax + 0xc]
push eax
push 0x57
push 0x244
mov ecx, dword [0x4efb90]
call fcn.0047bee0
mov eax, dword [0x639334]
cmp eax, 4
je 0x453f8c
cmp eax, 5
jne 0x453fac
mov ecx, dword [0x4efb90]
push 0x10
push 0
push 0x28
push 0x1ea
push 0x104
push 0x82
call fcn.0047a5d0
mov ecx, dword [0x6391d8]
mov edx, dword [0x4efb90]
push ecx
push edx
lea ecx, [esp + 0x44]
call fcn.00489780
mov dword [esp + 0x94], 5
mov eax, dword [0x639334]
sub eax, 4
je 0x454006
sub eax, 1
jne 0x454036
mov eax, dword [esp + 0x9c]
add eax, 0x1280
push eax
mov edi, 0x4df750
call fcn.004021e0
push eax
push 0x10e
push 0x8c
lea ecx, [esp + 0x4c]
push ecx
jmp 0x45402e
mov edx, dword [esp + 0x9c]
add edx, 0x1280
push edx
mov edi, 0x4df728
call fcn.004021e0
push eax
push 0x10e
push 0x8c
lea eax, [esp + 0x4c]
push eax
call fcn.004871a0
add esp, 0x14
movzx ecx, byte [0x63909a]
mov edx, dword [esp + 0x9c]
cmp dword [edx + ecx*4 + 0x46de4], 0
lea eax, [edx + ecx*4 + 0x46de4]
je 0x45406d
mov eax, dword [eax]
mov ecx, dword [0x4efb90]
push eax
push 0x20c
push 0x2c0
call fcn.0047d4b0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x94], 0xffffffff
call fcn.004897b0
mov eax, 1
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4