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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5664d9
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
mov eax, dword [0x5b38f0]
xor eax, esp
mov dword [esp + 0x3ec], eax
push esi
push edi
mov eax, dword [0x5b38f0]
xor eax, esp
push eax
lea eax, [esp + 0x400]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esp + 0xbc]
call fcn.004bd320
mov dword [esp + 0x408], 0
lea ecx, [esp + 0x2c]
mov edx, esi
mov dword [esp + 0xbc], 0x1f84
call fcn.004da580
mov edi, eax
lea eax, [esp + 0xc0]
cmp eax, edi
je 0x4c0a10
cmp dword [esp + 0xd4], 0x10
jb 0x4c09e5
push dword [esp + 0xc0]
call fcn.0052558c
add esp, 4
push edi
lea ecx, [esp + 0xc4]
mov dword [esp + 0xd8], 0xf
mov dword [esp + 0xd4], 0
mov byte [esp + 0xc4], 0
call fcn.0043dc10
cmp dword [esp + 0x40], 0x10
jb 0x4c0a23
push dword [esp + 0x2c]
call fcn.0052558c
add esp, 4
lea edx, [esi + 0x18]
lea ecx, [esp + 0x2c]
call fcn.004da580
mov edi, eax
lea eax, [esp + 0xd8]
cmp eax, edi
je 0x4c0a80
cmp dword [esp + 0xec], 0x10
jb 0x4c0a55
push dword [esp + 0xd8]
call fcn.0052558c
add esp, 4
push edi
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf0], 0xf
mov dword [esp + 0xec], 0
mov byte [esp + 0xdc], 0
call fcn.0043dc10
cmp dword [esp + 0x40], 0x10
jb 0x4c0a93
push dword [esp + 0x2c]
call fcn.0052558c
add esp, 4
movzx eax, word [esi + 0x30]
lea edx, [esi + 0x60]
mov word [esp + 0xf0], ax
lea ecx, [esp + 0x2c]
movzx eax, word [esi + 0x34]
mov word [esp + 0xf2], ax
movzx eax, word [esi + 0x38]
mov word [esp + 0xf4], ax
movzx eax, word [esi + 0x3c]
mov word [esp + 0xf6], ax
movzx eax, word [esi + 0x40]
mov word [esp + 0xf8], ax
movzx eax, word [esi + 0x44]
mov word [esp + 0xfa], ax
movzx eax, word [esi + 0x48]
mov word [esp + 0xfc], ax
movzx eax, word [esi + 0x4c]
mov word [esp + 0xfe], ax
movzx eax, word [esi + 0x50]
mov word [esp + 0x100], ax
call fcn.004da580
mov edi, eax
lea eax, [esp + 0x110]
cmp eax, edi
je 0x4c0b5c
cmp dword [esp + 0x124], 0x10
jb 0x4c0b31
push dword [esp + 0x110]
call fcn.0052558c
add esp, 4
push edi
lea ecx, [esp + 0x114]
mov dword [esp + 0x128], 0xf
mov dword [esp + 0x124], 0
mov byte [esp + 0x114], 0
call fcn.0043dc10
cmp dword [esp + 0x40], 0x10
jb 0x4c0b6f
push dword [esp + 0x2c]
call fcn.0052558c
add esp, 4
lea edx, [esi + 0x78]
lea ecx, [esp + 0x2c]
call fcn.004da580
mov edi, eax
lea eax, [esp + 0x128]
cmp eax, edi
je 0x4c0bcc
cmp dword [esp + 0x13c], 0x10
jb 0x4c0ba1
push dword [esp + 0x128]
call fcn.0052558c
add esp, 4
push edi
lea ecx, [esp + 0x12c]
mov dword [esp + 0x140], 0xf
mov dword [esp + 0x13c], 0
mov byte [esp + 0x12c], 0
call fcn.0043dc10
cmp dword [esp + 0x40], 0x10
jb 0x4c0bdf
push dword [esp + 0x2c]
call fcn.0052558c
add esp, 4
lea edx, [esi + 0x90]
lea ecx, [esp + 0x2c]
call fcn.004da580
mov edi, eax
lea eax, [esp + 0x140]
cmp eax, edi
je 0x4c0c3f
cmp dword [esp + 0x154], 0x10
jb 0x4c0c14
push dword [esp + 0x140]
call fcn.0052558c
add esp, 4
push edi
lea ecx, [esp + 0x144]
mov dword [esp + 0x158], 0xf
mov dword [esp + 0x154], 0
mov byte [esp + 0x144], 0
call fcn.0043dc10
cmp dword [esp + 0x40], 0x10
jb 0x4c0c52
push dword [esp + 0x2c]
call fcn.0052558c
add esp, 4
push 0
push 0x58ccc0
lea ecx, [esp + 0x160]
call fcn.0040eb60
movzx eax, word [esi + 0xc0]
lea edx, [esi + 0xc8]
mov word [esp + 0x170], ax
lea ecx, [esp + 0x2c]
movzx eax, word [esi + 0xc4]
mov word [esp + 0x172], ax
call fcn.004da580
mov edi, eax
lea eax, [esp + 0x174]
cmp eax, edi
je 0x4c0ce3
cmp dword [esp + 0x188], 0x10
jb 0x4c0cb8
push dword [esp + 0x174]
call fcn.0052558c
add esp, 4
push edi
lea ecx, [esp + 0x178]
mov dword [esp + 0x18c], 0xf
mov dword [esp + 0x188], 0
mov byte [esp + 0x178], 0
call fcn.0043dc10
cmp dword [esp + 0x40], 0x10
jb 0x4c0cf6
push dword [esp + 0x2c]
call fcn.0052558c
add esp, 4
lea edx, [esi + 0xe0]
lea ecx, [esp + 0x2c]
call fcn.004da580
mov esi, eax
lea eax, [esp + 0x18c]
cmp eax, esi
je 0x4c0d56
cmp dword [esp + 0x1a0], 0x10
jb 0x4c0d2b
push dword [esp + 0x18c]
call fcn.0052558c
add esp, 4
push esi
lea ecx, [esp + 0x190]
mov dword [esp + 0x1a4], 0xf
mov dword [esp + 0x1a0], 0
mov byte [esp + 0x190], 0
call fcn.0043dc10
cmp dword [esp + 0x40], 0x10
jb 0x4c0d69
push dword [esp + 0x2c]
call fcn.0052558c
add esp, 4
lea ecx, [esp + 0x224]
call fcn.004bd580
mov byte [esp + 0x408], 1
call fcn.004bdbc0
push eax
lea ecx, [esp + 0x228]
call fcn.004bef20
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x2fc]
call fcn.004c1820
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea eax, [esp + 0x1c]
mov byte [esp + 0x408], 3
push eax
lea ecx, [esp + 0x228]
call fcn.004c6520
push dword [esp + 0x20]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x48]
push edi
call fcn.0040eb60
cmp dword [esp + 0x58], 0x10
lea eax, [esp + 0x44]
push dword [esp + 0x54]
cmovae eax, dword [esp + 0x48]
push eax
lea eax, [esp + 0x64]
push 0x589404
push eax
call fcn.0045120f
add esp, 0x10
mov byte [esp + 0x408], 4
lea ecx, [esp + 0x5c]
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x6c]
cmovae ecx, dword [esp + 0x5c]
push dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x14], 0
cmp dword [esp + 0x74], 0x10
lea ecx, [esp + 0x60]
push eax
cmovae ecx, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.004d1400
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x408], 5
call fcn.004c2130
mov byte [esp + 0x408], 6
lea ecx, [esp + 0x8c]
push 8
push str.qbpcstat
mov dword [esp + 0x1b4], 0
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], 0
mov byte [esp + 0x94], 0
call fcn.0040eb60
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x94]
mov byte [esp + 0x410], 7
push eax
lea ecx, [esp + 0x1bc]
call fcn.0040eaa9
mov byte [esp + 0x408], 6
cmp dword [esp + 0xa0], 0x10
jb 0x4c0f0a
push dword [esp + 0x8c]
call fcn.0052558c
add esp, 4
push 4
push str.stat
lea ecx, [esp + 0xac]
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], 0
mov byte [esp + 0xac], 0
call fcn.0040eb60
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xac]
mov byte [esp + 0x410], 8
push eax
lea ecx, [esp + 0x1d4]
call fcn.0040eaa9
mov byte [esp + 0x408], 6
cmp dword [esp + 0xb8], 0x10
jb 0x4c0f7c
push dword [esp + 0xa4]
call fcn.0052558c
add esp, 4
push 5
push str.crypt
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.0040eb60
lea eax, [esp + 0x10]
mov byte [esp + 0x408], 9
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x208]
call fcn.004c6780
cmp dword [esp + 0x40], 0x10
jb 0x4c0fd2
push dword [esp + 0x2c]
call fcn.0052558c
add esp, 4
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
lea eax, [esp + 0x74]
mov byte [esp + 0x408], 0xa
push eax
lea ecx, [esp + 0x1a8]
call fcn.004c2280
lea eax, [esp + 0x74]
push eax
call fcn.004c0280
cmp dword [esp + 0x88], 0x10
mov esi, eax
jb 0x4c1028
push dword [esp + 0x74]
call fcn.0052558c
add esp, 4
push dword [esp + 0x214]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
call fcn.00529e12
mov eax, dword [esp + 0x204]
lea ecx, [esp + 0x204]
add esp, 4
push eax
push dword [eax]
lea eax, [esp + 0x30]
push eax
call fcn.004c4740
push dword [esp + 0x200]
call fcn.0052558c
add esp, 4
lea ecx, [esp + 0x1a4]
call fcn.004bf0e0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c1099
push eax
call fcn.0052558c
add esp, 4
cmp dword [esp + 0x70], 0x10
jb 0x4c10ac
push dword [esp + 0x5c]
call fcn.0052558c
add esp, 4
push edi
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
call fcn.00529e12
add esp, 4
cmp dword [esp + 0x58], 0x10
jb 0x4c10dd
push dword [esp + 0x44]
call fcn.0052558c
add esp, 4
lea ecx, [esp + 0x224]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
call fcn.004be980
lea ecx, [esp + 0xbc]
call fcn.004c1140
mov eax, esi
mov ecx, dword [esp + 0x400]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x3ec]
xor ecx, esp
call fcn.0052b1ec
mov esp, ebp
pop ebp
ret 4