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

Disassembly:
mov ecx, dword [0x84873c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xe4]
cmp eax, dword [ecx + 8]
jbe 0x629090
sub esp, 0x164
mov eax, 0
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x178], 0
call fcn.00629a90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
test eax, eax
je 0x628aa6
mov edx, dword [esp + 0xc]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
test edx, edx
je 0x628a0f
mov edx, dword [edx + 4]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
lea edi, [esp + 0x90]
xor eax, eax
call fcn.0046a88a
lea ecx, [0x629270]
mov dword [esp + 0x90], ecx
lea ecx, [0x6846d8]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x11
lea ecx, [esp + 0x64]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 1
mov dword [esp + 0xa4], 1
mov ecx, dword [0x821948]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x90]
mov dword [esp + 0xc], ecx
call fcn.004cafe0
mov dword [esp + 0x178], 2
add esp, 0x164
ret
mov dword [esp + 0x30], edx
mov eax, dword [esp]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov ecx, dword [esp + 0x168]
mov dword [esp], ecx
mov edx, dword [esp + 0x16c]
mov dword [esp + 4], edx
call fcn.0040a0d0
mov eax, dword [esp + 8]
lea ecx, [0x64c320]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x170]
mov dword [esp], eax
mov edx, dword [esp + 0x174]
mov dword [esp + 4], edx
call fcn.0040a0d0
mov eax, dword [esp + 8]
lea ecx, [0x64c320]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea edi, [esp + 0x90]
xor eax, eax
call fcn.0046a88a
lea ecx, [0x6291f0]
mov dword [esp + 0x90], ecx
lea ecx, [0x691839]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x35
lea ecx, [esp + 0x80]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 2
mov dword [esp + 0xa4], 2
mov ecx, dword [0x821948]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x90]
mov dword [esp + 0xc], ecx
call fcn.004cafe0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x629180]
mov dword [esp + 0x74], eax
lea eax, [0x64c320]
mov dword [esp + 0x78], eax
lea eax, [0x6dabe8]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x160], eax
mov byte [esp + 0x23], 1
lea eax, [0x647d20]
mov dword [esp], eax
call fcn.0040c880
mov eax, dword [esp + 4]
lea ecx, [0x6dbba0]
mov dword [eax], ecx
lea edx, [0x6d99ec]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea ecx, [0x6daa48]
mov dword [eax + 0xc], ecx
lea ecx, [0x6dc3d8]
mov dword [esp], ecx
lea ecx, [0x8485c0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004d5ea0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x15c], eax
mov byte [esp + 0x23], 3
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x628d1e
mov ebp, dword [esp + 0x30]
test ebp, ebp
ja 0x628cb4
lea esi, [0x8485c0]
xor edi, edi
xor esi, esi
mov dword [esp + 0x24], esi
lea esi, [0x8485c0]
jmp 0x628cf8
lea eax, [0x8485c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebp
lea eax, [0x64c660]
mov dword [esp + 0x10], eax
call fcn.0044fab0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
mov esi, eax
mov edi, edx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x38], esi
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.0046af80
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
jmp 0x628d24
xor eax, eax
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], esi
lea ecx, [0x655c80]
mov dword [esp], ecx
call fcn.0040c880
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [0x8489b0]
test ecx, ecx
jne 0x628d60
mov ecx, dword [esp + 0x38]
jmp 0x628d6b
call fcn.0046a600
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [esp + 0x40], eax
mov dword [eax], ecx
mov ecx, dword [0x848990]
mov edx, dword [0x848994]
mov ebx, dword [0x848998]
mov ebp, dword [0x84899c]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
call fcn.00622270
mov eax, dword [0x821ba0]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
test eax, eax
jne 0x628db7
lea eax, [0x69536c]
jmp 0x628e04
mov dword [esp + 0x2c], eax
mov eax, dword [0x821ba4]
mov dword [esp + 0x44], eax
lea ecx, [0x654c80]
mov dword [esp], ecx
call fcn.0040c880
mov eax, dword [esp + 4]
lea ecx, [0x6290e0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0x8489b0]
test ecx, ecx
jne 0x628df6
mov ecx, dword [esp + 0x44]
jmp 0x628e01
call fcn.0046a600
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x3c], eax
lea edi, [esp + 0x100]
xor eax, eax
call fcn.0046a87a
mov ecx, dword [esp + 0x168]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x170]
mov dword [esp + 0x108], ecx
mov ecx, dword [esp + 0x174]
mov dword [esp + 0x10c], ecx
lea ecx, [0x654bc0]
mov dword [esp], ecx
call fcn.0040c880
mov ecx, dword [esp + 4]
lea edx, [0x62d4c0]
mov dword [ecx], edx
mov edx, dword [0x8489b0]
test edx, edx
jne 0x628e78
mov eax, dword [esp + 0x40]
jmp 0x628e83
call fcn.0046a600
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov dword [ecx + 4], eax
mov dword [esp + 0x128], ecx
mov eax, dword [0x821920]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
mov eax, dword [0x821924]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x124], eax
mov ecx, dword [0x821934]
mov ecx, dword [ecx]
mov dword [esp + 0x12c], ecx
mov ecx, dword [0x82193c]
movzx ecx, byte [ecx]
mov byte [esp + 0x130], cl
mov ecx, dword [0x821ce0]
mov edx, dword [0x821ce4]
mov ebx, dword [0x821ce8]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], edx
mov dword [esp + 0x13c], ebx
mov ecx, dword [0x821cf0]
mov edx, dword [0x821cf4]
mov ebx, dword [0x821cf8]
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], edx
mov dword [esp + 0x148], ebx
mov ecx, dword [0x810450]
mov dword [esp + 0x14c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x150], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x154], ecx
lea edi, [esp + 0xa8]
lea esi, [esp + 0x100]
call fcn.0046acc4
lea ecx, [esp + 0xa8]
mov dword [esp], ecx
call fcn.00624200
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x628ff0
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
test eax, eax
je 0x628fb6
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
lea eax, [0x687f29]
mov dword [esp], eax
mov dword [esp + 4], 0x19
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cb790
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x6290a0]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
lea eax, [esp + 0x5c]
mov dword [esp + 0x158], eax
mov byte [esp + 0x23], 7
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405a70
mov dword [esp + 0x178], 0
mov byte [esp + 0x23], 3
mov edx, dword [esp + 0x158]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x15c]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x160]
mov eax, dword [edx]
call eax
add esp, 0x164
ret
call fcn.00469200
jmp fcn.00628990