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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42579e
sub esp, 0x50
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
mov ebx, dword [edx + 0x4c]
cmp ebx, ecx
jne 0x425743
mov ebx, dword [edx + 0x78]
test ebx, ebx
jne 0x42571a
mov ebx, dword [edx + 0x64]
test ebx, ebx
jne 0x4256bf
mov dword [esp + 0x20], ecx
mov ebx, dword [edx + 0x70]
test ebx, ebx
jne 0x425602
mov edx, dword [edx + 0x74]
test edx, edx
jne 0x4255a7
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.0044a11b
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x48], edx
lea edx, [ecx + 0x10]
mov dword [esp + 0x38], edx
mov ebx, dword [0x5d3b70]
test ebx, ebx
jne 0x425540
lea eax, [esp + 0x3c]
mov dword [ecx + 0x10], eax
lea eax, [0x5d3a84]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00401550
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
lea edx, [eax + 0x14]
test ecx, ecx
je 0x4254f3
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
movzx ebx, byte [ecx + 4]
test bl, bl
je 0x42531d
mov ebx, dword [ecx + 0x14]
lea ebp, [ecx + 0x14]
test ebx, ebx
je 0x4252a0
mov byte [ebx + 0x11], 1
mov ebx, dword [0x5d3b70]
lea esi, [ecx + 0x10]
test ebx, ebx
jne 0x4252e7
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov ebx, dword [0x5d3b70]
mov ebp, dword [ecx + 0x18]
test ebx, ebx
jne 0x4252d5
mov dword [eax + 0x14], ebp
mov dword [esp], ecx
call fcn.00424b50
jmp 0x42526c
mov dword [esp], edx
mov dword [esp + 4], ebp
call fcn.0040d8c0
mov ecx, dword [esp + 0x30]
jmp 0x4252cb
mov dword [esp + 0x2c], esi
mov dword [esp], ebp
mov dword [esp + 4], 0
call fcn.0040d8c0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0040d8c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
jmp 0x4252bb
mov byte [ecx + 4], 1
mov ebx, dword [0x5d3b70]
lea ebp, [ecx + 0x14]
mov dword [esp + 0x28], ebp
test ebx, ebx
jne 0x4254de
lea ebx, [esp + 0x3c]
mov dword [ecx + 0x14], ebx
mov dword [esp], 0
call fcn.004257b0
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
test ecx, ecx
jne 0x4254d2
xor edx, edx
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.00448700
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x10]
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x14]
cmp ebx, eax
jne 0x42558f
mov ebx, dword [0x5d3b70]
test ebx, ebx
jne 0x425499
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov ecx, dword [0x5d3b70]
mov ebx, dword [eax + 0x18]
test ecx, ecx
jne 0x425480
mov dword [edx + 0x14], ebx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov dword [esp], eax
call fcn.00424b50
movzx eax, byte [esp + 0x4c]
test al, al
je 0x42526c
lea eax, [0x5d3a84]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.00401550
mov eax, dword [0x5d3b70]
mov ecx, dword [esp + 0x48]
test eax, eax
jne 0x42546a
mov eax, dword [esp + 0x20]
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x425455
movzx edx, byte [ecx + 0x11]
test dl, dl
je 0x425453
mov edx, dword [0x5d3b70]
mov ecx, dword [ecx + 0xc]
test edx, edx
jne 0x42543d
mov dword [eax + 0x10], ecx
jmp 0x42541c
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x20]
jmp 0x42541c
test ecx, ecx
jne 0x425555
mov dword [eax + 0x8c], 0
jmp 0x425555
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0040d8c0
mov eax, dword [esp + 0x20]
jmp 0x42541c
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0040d8c0
mov eax, dword [esp + 0x30]
jmp 0x4253ce
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0040d8c0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0040d8c0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
jmp 0x4253ba
mov ebx, eax
lea edx, [eax + 0x1c]
mov eax, ebx
jmp 0x425361
mov dword [esp], ebp
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0040d8c0
jmp 0x42533d
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00424f20
call fcn.00425810
lea eax, [0x5d3a84]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.00401550
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call fcn.004250d0
mov dword [esp], 0
call fcn.00425830
xor eax, eax
mov dword [eax], 0
add esp, 0x50
ret
mov dword [esp], edx
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0040d8c0
jmp 0x425256
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x9c], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xa0], ecx
lea eax, [0x52b768]
mov dword [esp], eax
call fcn.00448560
lea eax, [0x52246f]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.004258c0
ud2
lea eax, [0x525622]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004258c0
ud2
call fcn.00426080
lea eax, [0x5203da]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00426910
call fcn.004260f0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00404940
call fcn.00426080
call fcn.004262a0
call fcn.004260f0
lea eax, [0x5239a2]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004258c0
ud2
call fcn.00426080
lea eax, [0x5203da]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00426910
call fcn.004260f0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00404940
call fcn.00426080
call fcn.004262a0
call fcn.004260f0
call fcn.00426080
lea eax, [0x52404b]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00426910
call fcn.004260f0
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0x70]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x6c]
mov dword [esp + 0x24], eax
call fcn.00426080
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.00426910
call fcn.004260f0
call fcn.00426080
call fcn.004262a0
call fcn.004260f0
lea eax, [0x525242]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.004258c0
ud2
call fcn.00426080
lea eax, [0x5203da]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00426910
call fcn.004260f0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00404940
call fcn.00426080
call fcn.004262a0
call fcn.004260f0
lea eax, [0x52397c]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004258c0
ud2
mov eax, dword [edx + 0x74]
dec eax
mov dword [edx + 0x74], eax
mov eax, dword [ecx + 0x18]
mov dword [eax + 0x78], 0
lea eax, [0x524bac]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.004258c0
ud2
call fcn.00426080
lea eax, [0x5203da]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00426910
call fcn.004260f0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call fcn.00404940
call fcn.00426080
call fcn.004262a0
call fcn.004260f0
lea eax, [0x5245e9]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.004258c0
ud2
call fcn.004486e0
jmp fcn.004251b0