Function at 0x445990
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x445eb2
sub esp, 0x38
mov eax, dword [esp + 0x40]
test eax, eax
setb cl
mov edx, dword [esp + 0x44]
test edx, edx
sete bl
xchg ebp, ebx
setl bl
xchg ebp, ebx
and ecx, ebx
or ecx, ebp
test cl, cl
je 0x445ea7
mov eax, 0x7fffffff
mov ecx, 0xffffffff
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
test byte [eax], al
lea ecx, [eax + 0x2c]
mov dword [esp + 0x34], ecx
mov dword [esp], ecx
call fcn.00401f10
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
cmp eax, 3
ja 0x445e58
cmp eax, 1
jbe 0x445d40
cmp eax, 2
jne 0x445a2c
mov eax, dword [0x538580]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00456d00
jmp 0x4459e0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x78]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.00401f30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x445aa4
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x4459e0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4459e0
mov dword [eax + 8], 0xfffffade
jmp 0x4459e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
test byte [ecx], al
add ecx, 0x140c
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.00402020
xor eax, eax
mov ecx, dword [esp + 0x24]
xor edx, edx
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
mov dword [ebp + 0xc], ebx
mov ebx, dword [esp + 0x4c]
mov dword [ebp + 0x10], ebx
mov ebx, dword [0x54d830]
test ebx, ebx
jne 0x445d2b
mov ebx, dword [esp + 0x50]
mov dword [ebp + 0x14], ebx
mov ebx, dword [esp + 0x54]
mov dword [ebp + 0x18], ebx
mov ebx, dword [0x54d830]
test ebx, ebx
jne 0x445d16
mov ebx, dword [esp + 0x58]
mov dword [ebp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov byte [esp + 0x13], dl
mov ebx, dword [esp + 0x5c]
mov dword [ebp + 0x20], ebx
test al, al
jne 0x445c46
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x24], eax
mov ebx, dword [esp + 0x44]
mov dword [ebp + 0x28], ebx
cmp dword [ebp + 4], eax
xchg esi, ebx
seta bl
xchg esi, ebx
mov edi, dword [ebp + 8]
cmp ebx, edi
xchg edi, ebx
sete bl
xchg edi, ebx
setl bl
and esi, edi
or esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x445c3c
mov ebx, 7
mov esi, dword [esp + 0x14]
cmp esi, 7
jne 0x445c35
mov esi, 0xffffffff
cmp ebx, 7
jne 0x445b76
inc esi
mov dword [esp + 0x18], ebx
test esi, esi
jne 0x445c16
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], ebx
call fcn.00401f30
movzx eax, byte [esp + 0xc]
test al, al
je 0x445c0f
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x445c06
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x445bfd
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x18]
cmp eax, 7
je 0x445be7
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x60], al
add esp, 0x38
ret
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00435e70
jmp 0x445bda
mov eax, dword [esp + 0x18]
cmp eax, 7
jmp 0x445bd8
mov eax, dword [esp + 0x18]
cmp eax, 7
jmp 0x445bd8
call fcn.00447540
jmp 0x445ba3
mov eax, dword [ebp]
test byte [eax], al
add eax, 0x1408
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00402020
mov ebx, dword [esp + 0x18]
jmp 0x445b82
xor esi, esi
jmp 0x445b70
mov ebx, 8
jmp 0x445b5e
mov eax, dword [esp + 0x40]
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [ebp + 8], ecx
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x54]
mov dword [esp + 0x30], edx
test byte [edx], al
lea ebx, [edx + 0x13f4]
mov dword [esp + 0x2c], ebx
nop
mov dword [esp], ebx
call fcn.00408970
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.004451e0
nop
nop
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00408b80
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], 1
call fcn.00401f30
movzx eax, byte [esp + 0xc]
test al, al
je 0x445d0f
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x445cf6
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x445cf6
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00435e70
jmp 0x445bda
call fcn.00447540
jmp 0x445cc7
lea edi, [ebp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x58]
call fcn.00455e90
mov eax, ebx
jmp 0x445b0d
lea edi, [ebp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x50]
call fcn.00455e90
mov eax, ebx
jmp 0x445af1
test eax, eax
jne 0x445dd0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x78]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.00401f30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x445dc0
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x4459e0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4459e0
mov dword [eax + 8], 0xfffffade
jmp 0x4459e0
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor edx, edx
jmp 0x445aca
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x78]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x34]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.00401f30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x445e48
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x4459e0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4459e0
mov dword [eax + 8], 0xfffffade
jmp 0x4459e0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov edx, 1
jmp 0x445aca
cmp eax, 5
ja 0x445e6b
cmp eax, 4
je 0x445a14
jmp 0x445d48
cmp eax, 6
je 0x445e8c
cmp eax, 8
jbe 0x445dd0
cmp eax, 9
je 0x445a14
call fcn.00447540
jmp 0x4459e0
mov eax, dword [0x538580]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00456d00
jmp 0x4459e0
mov eax, edx
mov ecx, dword [esp + 0x40]
jmp 0x4459d8
call fcn.00454940
jmp fcn.00445990