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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f4
mov eax, dword [0x4b21c4]
xor eax, esp
mov dword [esp + 0x1f0], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edi
call fcn.0063344a
xor eax, eax
mov dword [esp + 0x1d8], 0x1000200
mov dword [esp + 0x1dc], 0x5020001
lea edi, [esp + 0x1f5]
mov dword [esp + 0x1e0], 0x10300
xor ecx, ecx
mov dword [esp + 0x1e4], 0x6000204
mov esi, 0x11c
mov dword [esp + 0x1e8], 0x7080001
mov dword [esp + 0x1ec], 0x30900
mov dword [esp + 0x1f0], 0xc00010a
mov byte [esp + 0x1f4], 7
stosd dword es:[edi], eax
push esi
push ecx
mov dword [esp + 0x3c], ecx
stosw word es:[edi], ax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], ecx
stosb byte es:[edi], al
lea eax, [esp + 0xc0]
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x24], ecx
call fcn.00678b8d
add esp, 0xc
mov dword [esp + 0xb8], esi
lea eax, [esp + 0xb8]
xor edi, edi
mov dword [esp + 0x3c], edi
push eax
call dword [0x4b307c]
test eax, eax
jne 0x631567
call dword [0x4b3080]
mov ecx, eax
call fcn.006330ce
mov esi, eax
jmp 0x631968
push dword [esp + 0xc8]
lea eax, [esp + 0x30]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push 0x4098d8
push eax
call fcn.00632659
mov esi, eax
add esp, 0x14
test esi, esi
js 0x631968
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 3]
shr eax, 1
and eax, 1
push eax
lea eax, [esp + 0x30]
push case.0x4098f3.5
push eax
call fcn.00632659
mov esi, eax
add esp, 0xc
test esi, esi
js 0x631968
lea eax, [esp + 0xc]
push eax
call dword [0x4b4070]
mov esi, eax
test esi, esi
js 0x631968
push ecx
push ecx
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0066d690
mov esi, eax
test esi, esi
js 0x631968
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x30]
lea edx, [esp + 0x1e4]
push ecx
call fcn.0066d610
mov esi, eax
test esi, esi
js 0x631968
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x4c]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.006325af
mov esi, eax
test esi, esi
js 0x631968
push dword [esp + 0x4c]
lea eax, [esp + 0x30]
push 0x409954
push eax
call fcn.00632659
mov esi, eax
add esp, 0xc
test esi, esi
js 0x631968
lea ecx, [esp + 0x90]
call fcn.00672f6b
mov esi, eax
test esi, esi
js 0x631968
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x54]
push eax
push 0x40a1c8
lea edx, [esp + 0x98]
call fcn.00631c96
mov esi, eax
test esi, esi
js 0x631968
cmp dword [esp + 0x54], edi
je 0x631840
lea eax, [esp + 0x70]
push eax
call dword [0x4b30a0]
push edi
push dword [esp + 0xa8]
lea edx, [esp + 0x80]
lea ecx, [esp + 0x78]
call fcn.0063287e
mov esi, eax
test esi, esi
js 0x631968
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [0x4b3084]
test eax, eax
je 0x631553
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x80]
call fcn.00632975
mov esi, eax
test esi, esi
js 0x631968
push dword [esp + 0x3c]
push 0x409968
lea eax, [esp + 0x34]
push eax
call fcn.00632659
mov esi, eax
add esp, 0xc
test esi, esi
js 0x631968
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x64]
push eax
push 0x409990
push dword [esp + 0x1c]
call dword [0x4b4064]
test eax, eax
js 0x631765
cmp dword [esp + 0x5c], 1
jne 0x631765
push dword [esp + 0x14]
lea eax, [esp + 0x30]
push 0x4099b0
push eax
call fcn.00632659
mov esi, eax
add esp, 0xc
test esi, esi
js 0x631968
lea eax, [esp + 0x60]
push eax
push 0x4099e8
call dword [0x4b405c]
mov esi, eax
test esi, esi
js 0x631968
push dword [esp + 0x60]
lea eax, [esp + 0x30]
push 0x409a28
push eax
call fcn.00632659
mov esi, eax
add esp, 0xc
test esi, esi
js 0x631968
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [eax*2 + 2]
call fcn.006325af
mov esi, eax
test esi, esi
js 0x631968
push dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push 0x409a5c
push eax
call fcn.006311ed
mov esi, eax
add esp, 0xc
test esi, esi
js 0x631968
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
push dword [esp + 0x54]
push 0x40a224
call dword [0x4b4074]
test eax, eax
jns 0x63190a
test dword [fcn.00468c50], 0x100
mov esi, 0x4b2618
je 0x6318a4
push esi
call dword [0x4b30ac]
mov eax, dword [0x4b2270]
test eax, eax
jne 0x631892
push edi
call fcn.0066c244
test eax, eax
js 0x63189d
mov dword [0x4b2270], 1
jmp 0x63189d
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push dword [esp + 0x64]
push ecx
call fcn.00674e49
mov esi, eax
test esi, esi
jns 0x63185e
mov ecx, esi
call fcn.006330e6
mov ecx, esi
call fcn.006330fe
test esi, esi
js 0x631968
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x40]
call fcn.00633082
mov esi, eax
test esi, esi
js 0x631968
push dword [esp + 0x40]
push 0x409980
jmp 0x631705
cmp eax, 0xffffffff
je 0x63189d
inc eax
mov dword [0x4b2270], eax
push esi
call dword [0x4b3050]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00631d0a
mov esi, eax
test esi, esi
js 0x631968
test dword [fcn.00468c50], 0x100
je 0x63190a
push 0x4b2618
call dword [0x4b30ac]
mov eax, dword [0x4b2270]
cmp eax, 1
jne 0x6318f0
push eax
call fcn.0066c244
mov dword [0x4b2270], edi
jmp 0x6318ff
cmp eax, 0xffffffff
je 0x6318ff
test eax, eax
je 0x6318ff
dec eax
mov dword [0x4b2270], eax
push 0x4b2618
call dword [0x4b3050]
cmp dword [esp + 0x38], 1
jbe 0x63196f
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x24]
test eax, eax
je 0x631a6f
mov ecx, eax
call fcn.00633082
mov esi, eax
test esi, esi
js 0x631968
test ebx, ebx
jne 0x631937
mov ebx, 0x409a90
lea eax, [esp + 0x44]
mov edx, ebx
push eax
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.00632afb
mov esi, eax
test esi, esi
js 0x631968
mov edx, dword [esp + 0x38]
push dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
lea edx, [edx - 1]
call fcn.006329b9
mov esi, eax
test esi, esi
jns 0x63196f
mov ecx, esi
call fcn.006330e6
mov ecx, esi
call fcn.006330fe
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x631983
call fcn.00632f8a
cmp dword [esp + 0x18], edi
je 0x63199b
push dword [esp + 0x18]
push edi
call dword [fcn.004b3098]
push eax
call dword [fcn.004b3058]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x6319a8
call fcn.00632f8a
cmp dword [esp + 0x14], edi
je 0x6319c4
push dword [esp + 0x14]
push edi
call dword [fcn.004b3098]
push eax
call dword [fcn.004b3058]
mov dword [esp + 0x14], edi
cmp dword [esp + 0xc], edi
je 0x6319d8
push dword [esp + 0xc]
call dword [0x4b4068]
mov dword [esp + 0xc], edi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x6319e5
call fcn.00632f8a
lea ecx, [esp + 0x2c]
call fcn.0063344a
cmp dword [esp + 0x20], edi
je 0x6319fe
push dword [esp + 0x20]
call dword [0x4b3094]
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x631a0b
call fcn.00632f8a
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x631a18
call fcn.00632f8a
cmp dword [esp + 0x10], edi
je 0x631a2c
push dword [esp + 0x10]
call dword [0x4b3094]
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x631a39
call fcn.00632f8a
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x631a46
call fcn.00632f8a
cmp dword [esp + 0x28], edi
je 0x631a56
push dword [esp + 0x28]
call dword [0x4b3094]
mov ecx, dword [esp + 0x1fc]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006762f8
mov esp, ebp
pop ebp
ret 4
call fcn.00632bb1
jmp 0x631928