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

Disassembly:
sub esp, 0x620
push ebx
push esi
push edi
mov dword [esp + 0x24], 0x6644
mov dword [esp + 0x28], 0x6645
mov dword [esp + 0x1c], 0x6646
mov dword [esp + 0x20], 0x6647
mov dword [esp + 0xc], 0x6648
mov dword [esp + 0x10], 0x6649
mov dword [esp + 0x14], 0x664a
mov dword [esp + 0x18], 0x664b
call fcn.0044b030
test eax, eax
jne 0x42fbbf
test dword [0x4ebe490], 0x80000000
jne 0x42fbbf
mov ebx, 1
cmp word [0x5676a0], bx
je 0x42fbbf
cmp word [0x564e62], bx
je 0x42fbbf
cmp dword [0x461b420], ebx
je 0x42fbbf
cmp word [0x455ef9c], bx
je 0x42fbbf
mov ax, word [0x455efc8]
cmp ax, 0xa
je 0x42f420
cmp ax, 0x14
jne 0x42f42b
call fcn.0042fe70
mov ax, word [0x455efc8]
cmp ax, bx
jne 0x42fbc4
mov eax, dword [0x455ef98]
xor edi, edi
cmp eax, edi
jne 0x42f4a3
push ebx
push edi
push 8
push 7
push 0x30
push 0x60
mov word [0x455efc8], bx
mov dword [0x4558d38], 7
mov dword [0x454f414], 8
mov dword [0x455b56c], 0x60
mov dword [0x455ae0c], 0x30
call fcn.00448610
push 0xf0
push 0x140
push 0xca
mov dword [0x455ef98], eax
call fcn.00488190
add esp, 0x24
pop edi
pop esi
pop ebx
add esp, 0x620
ret
cmp dword [eax + 0x78], ebx
jl 0x42fbc4
push 5
push 0x4552e04
call fcn.004210b0
push 0xc
push 0x455a098
mov esi, eax
call fcn.00421080
mov cl, byte [0x45f1bc4]
add esp, 0x10
test bl, cl
je 0x42f892
cmp esi, 4
ja case.default.0x42f4e0
jmp dword [esi*4 + 0x42fbd0]
mov eax, dword [0x455ef98]
mov dword [0x4b83ec], 0xffffffff
push eax
call fcn.004011c0
add esp, 4
mov dword [0x455ef98], edi
pop edi
pop esi
pop ebx
add esp, 0x620
ret
mov eax, dword [0x455efcc]
mov dword [0x455efd8], ebx
cmp eax, ebx
jle 0x42f55d
dec eax
lea ecx, [esp + 0x2c]
push eax
push str.SF_d0
push ecx
call fcn.004923a7
mov eax, dword [0x461b658]
add esp, 0xc
cmp eax, edi
jne 0x42f7f7
mov edx, dword [0x461b404]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.0043bf40
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x620
ret
mov eax, dword [0x455efd0]
lea ecx, [eax - 1]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
lea eax, [esp + 0x2c]
shr ecx, 0x1f
lea edx, [edx + ecx + 1]
push edx
push str.SF_d0
push eax
call fcn.004923a7
mov eax, dword [0x461b658]
add esp, 0xc
cmp eax, edi
je 0x42f5b2
mov edx, dword [0x461b404]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00490420
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x620
ret
mov ecx, dword [0x461b404]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.0043bf40
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x620
ret
mov edx, dword [0x455efd0]
mov eax, 0x66666667
mov dword [0x455efdc], ebx
lea ecx, [edx - 1]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov eax, dword [0x455efcc]
cmp eax, ecx
jge 0x42f63a
inc eax
lea edx, [esp + 0x2c]
push eax
push str.SF_d0
push edx
call fcn.004923a7
mov eax, dword [0x461b658]
add esp, 0xc
cmp eax, edi
je 0x42f738
mov ecx, dword [0x461b404]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.00490420
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x620
ret
lea ecx, [esp + 0x2c]
push str.SF10
push ecx
call fcn.004923a7
mov eax, dword [0x461b658]
add esp, 8
cmp eax, edi
jne 0x42f7f7
mov edx, dword [0x461b404]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.0043bf40
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x620
ret
mov eax, dword [0x455efcc]
mov dword [0x455efe0], ebx
cmp eax, 0xa
jle 0x42f6e2
add eax, 0xfffffff6
push eax
lea eax, [esp + 0x30]
push str.SF_d0
push eax
call fcn.004923a7
mov eax, dword [0x461b658]
add esp, 0xc
cmp eax, edi
je 0x42f6c4
mov edx, dword [0x461b404]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00490420
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x620
ret
mov ecx, dword [0x461b404]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.0043bf40
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x620
ret
mov edx, dword [0x455efd0]
mov eax, 0x66666667
lea ecx, [edx - 1]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
lea edx, [esp + 0x2c]
push ecx
push str.SF_d0
push edx
call fcn.004923a7
mov eax, dword [0x461b658]
add esp, 0xc
cmp eax, edi
je 0x42f738
mov ecx, dword [0x461b404]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.00490420
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x620
ret
mov eax, dword [0x461b404]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0043bf40
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x620
ret
mov ecx, dword [0x455efd0]
mov eax, 0x66666667
dec ecx
mov dword [0x455efe4], ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax - 8]
mov eax, dword [0x455efcc]
cmp eax, ecx
jge 0x42f7d8
add eax, 0xa
lea edx, [esp + 0x2c]
push eax
push str.SF_d0
push edx
call fcn.004923a7
mov eax, dword [0x461b658]
add esp, 0xc
cmp eax, edi
je 0x42f7bb
mov ecx, dword [0x461b404]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.00490420
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x620
ret
mov eax, dword [0x461b404]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0043bf40
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x620
ret
lea ecx, [esp + 0x2c]
push str.SF10
push ecx
call fcn.004923a7
mov eax, dword [0x461b658]
add esp, 8
cmp eax, edi
je 0x42f659
mov eax, dword [0x461b404]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00490420
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x620
ret
cmp eax, 0xffffffff
je 0x42f892
mov ecx, eax
shl ecx, 6
add ecx, eax
lea eax, [eax + ecx*2]
shl eax, 3
mov edx, dword [eax + 0x454ffdc]
mov ecx, dword [eax + 0x454ffd8]
push edx
push ecx
lea edx, [esp + 0x434]
push 0x200
lea eax, [eax + 0x454ffe0]
push edx
push eax
call fcn.0048a200
add esp, 0xc
lea ecx, [esp + 0x34]
push eax
push str.SD_s_d_d
push ecx
call fcn.004923a7
mov eax, dword [0x461b658]
add esp, 0x14
cmp eax, edi
je 0x42f87e
mov eax, dword [0x461b404]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00490420
jmp 0x42f88f
mov edx, dword [0x461b404]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.0043bf40
add esp, 8
mov eax, dword [0x45f1bc0]
and eax, ebx
je 0x42f8ab
mov ecx, dword [0x455efd8]
mov dword [0x455efd8], ebx
cmp ecx, ebx
je 0x42f8b1
mov dword [0x455efd8], edi
cmp eax, edi
je 0x42f8c5
mov ecx, dword [0x455efdc]
mov dword [0x455efdc], ebx
cmp ecx, ebx
je 0x42f8cb
mov dword [0x455efdc], edi
cmp eax, edi
je 0x42f8df
mov ecx, dword [0x455efe0]
mov dword [0x455efe0], ebx
cmp ecx, ebx
je 0x42f8e5
mov dword [0x455efe0], edi
cmp eax, edi
je 0x42f8f8
mov eax, dword [0x455efe4]
mov dword [0x455efe4], ebx
cmp eax, ebx
je 0x42f8fe
mov dword [0x455efe4], edi
mov eax, dword [0x455ae0c]
mov ecx, dword [0x455b56c]
push edi
push 0x4b94c0
push edi
add eax, 0x14
push ebx
add ecx, 0xbe
push eax
push ecx
call fcn.0041d860
mov eax, dword [0x54c83c]
add esp, 0x18
cmp eax, edi
jne 0x42f94c
mov edx, dword [0x455ae0c]
mov eax, dword [0x455b56c]
add edx, 0x28
push 2
add eax, 0x96
push edx
push eax
call fcn.0042e830
add esp, 0xc
mov ecx, dword [0x455ae0c]
mov edx, dword [0x455b56c]
push 2
push 0x65f0
add ecx, 0x15e
push 0x69
add edx, 0xdc
push ecx
push edx
call fcn.0047e210
mov edx, dword [0x455ae0c]
mov dword [0x4552e04], eax
mov eax, dword [0x455efd8]
push 2
add edx, 0x44
mov ecx, dword [esp + eax*4 + 0x3c]
mov eax, dword [0x455b56c]
push ecx
push 0x6a
add eax, 0x4c
push edx
push eax
call fcn.0047e210
mov ecx, dword [0x455efdc]
mov dword [0x4552e08], eax
mov eax, dword [0x455ae0c]
push 2
mov edx, dword [esp + ecx*4 + 0x48]
mov ecx, dword [0x455b56c]
push edx
add eax, 0x44
push 0x6a
add ecx, 0xe2
push eax
push ecx
call fcn.0047e210
mov edx, dword [0x455efe0]
mov ecx, dword [0x455ae0c]
mov dword [0x4552e0c], eax
push 2
mov eax, dword [esp + edx*4 + 0x4c]
mov edx, dword [0x455b56c]
push eax
add ecx, 0x44
push 0x6a
add edx, 0x24
push ecx
push edx
call fcn.0047e210
mov edx, dword [0x455ae0c]
mov dword [0x4552e10], eax
mov eax, dword [0x455efe4]
add esp, 0x50
add edx, 0x44
mov ecx, dword [esp + eax*4 + 0x14]
mov eax, dword [0x455b56c]
push 2
push ecx
push 0x6a
add eax, 0x10a
push edx
push eax
call fcn.0047e210
mov ecx, dword [0x455efd0]
mov dword [0x4552e14], eax
dec ecx
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov edx, dword [0x455efcc]
push ecx
push edx
lea eax, [esp + 0x48]
push str._3d____3d_
push eax
call fcn.004923a7
push edi
lea ecx, [esp + 0x54]
mov edx, dword [0x455ae0c]
mov eax, dword [0x455b56c]
push ecx
push edi
add edx, 0x3c
push ebx
add eax, 0x64
push edx
push eax
call fcn.0041d860
push 0x4b94a4
push 0x4b949c
push 0x4b9490
push 0x4b9480
push 0x4e220c
lea ecx, [esp + 0x7c]
push str.__4s___16s___16s__6s__10s
push ecx
call fcn.004923a7
mov eax, dword [0x455ae0c]
mov ecx, dword [0x455b56c]
add esp, 0x58
lea edx, [esp + 0x2c]
add eax, 0x5a
add ecx, 0x19
push edi
push edx
push edi
push ebx
push eax
push ecx
call fcn.0041d860
add esp, 0x18
xor ecx, ecx
mov dword [0x454e080], ecx
mov edx, ecx
shl edx, 6
add edx, ecx
lea esi, [ecx + edx*2]
shl esi, 3
mov al, byte [esi + 0x454ffe0]
lea edi, [esi + 0x454ffe0]
test al, al
je 0x42fbc4
mov edx, dword [esi + 0x45503e4]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [esi + 0x45501e0]
push edx
mov edx, dword [esi + 0x45503e0]
push edx
push eax
mov eax, dword [0x455efcc]
push edi
lea edx, [eax + eax*4]
lea eax, [ecx + edx*2 - 9]
lea ecx, [esp + 0x3c]
push eax
push str._4d:___16s___16s__6d__10d
push ecx
call fcn.004923a7
mov ecx, dword [0x454e080]
add esp, 0x1c
mov edx, ecx
shl edx, 6
add edx, ecx
lea eax, [ecx + edx*2]
shl eax, 3
cmp dword [eax + 0x45503ec], ebx
je 0x42fb5d
mov eax, ebx
jmp 0x42fb6b
mov eax, dword [eax + 0x45503e8]
dec eax
neg eax
sbb eax, eax
and eax, 5
lea edx, [esp + 0x2c]
push 2
push edx
mov dword [0x4557948], eax
push eax
lea eax, [ecx + ecx*4]
mov ecx, dword [0x455ae0c]
push ebx
lea edx, [ecx + eax*4 + 0x6e]
mov eax, dword [0x455b56c]
add eax, 0xf
push edx
push eax
call fcn.0041d860
mov ecx, dword [0x454e080]
add esp, 0x18
mov dword [ecx*4 + 0x455a098], eax
inc ecx
cmp ecx, 0xa
mov dword [0x454e080], ecx
jl 0x42fad7
pop edi
pop esi
pop ebx
add esp, 0x620
ret
call fcn.0042f0d0
pop edi
pop esi
pop ebx
add esp, 0x620
ret