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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d5016
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x5254e0]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov eax, dword [0x5254e0]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, 7
xor ebx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], edx
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], ebx
mov word [esp + 0xd4], ax
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov word [esp + 0xf4], cx
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], ebx
mov word [esp + 0x110], dx
push ebx
push 0x4fc3d4
lea ecx, [esp + 0xdc]
mov dword [esp + 0x160], ebx
call fcn.0041ef70
lea ecx, [esp + 0xd4]
call fcn.00445c50
test al, al
je 0x446f6b
test byte [esp + 0xf0], 2
je 0x446f6b
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xfc]
xor eax, eax
push ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], ax
call fcn.0041f520
mov byte [esp + 0x158], 1
push 0x48
mov dword [esp + 0x24], ebx
call fcn.004a9f06
add esp, 4
cmp eax, ebx
je 0x447538
mov dword [esp + 0x1c], eax
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], eax
mov edx, dword [esp + 0x1c]
mov byte [edx + 0x44], 1
mov eax, dword [esp + 0x1c]
mov byte [eax + 0x45], 1
push 1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x50]
mov byte [esp + 0x160], 2
push edx
xor eax, eax
mov dword [esp + 0x20], 0x3a
call fcn.004271b0
cmp eax, 0xffffffff
jne 0x446f9f
mov byte [esp + 0x158], 3
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x30]
lea esi, [esp + 0x20]
call fcn.00447ee0
mov eax, dword [esp + 0x1c]
push eax
call fcn.004a9dd8
add esp, 4
cmp dword [esp + 0x5c], 8
jb 0x446f58
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004a9dd8
add esp, 4
xor edx, edx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], dx
lea esi, [esp + 0xd4]
call fcn.00445760
xor al, al
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret 4
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
push ecx
xor eax, eax
mov dword [esp + 0x20], 0x3d
call fcn.004271b0
cmp eax, 0xffffffff
jne 0x447048
push 5
xor edx, edx
push 0x4fdb54
lea ecx, [esp + 0x6c]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], dx
call fcn.0041ef70
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x160], 4
xor eax, eax
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], ax
call fcn.0041f520
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x15c], 5
call fcn.00448cc0
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004485f0
lea esi, [esp + 0x64]
call fcn.00425460
mov eax, 7
xor edx, edx
xor edi, edi
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], dx
mov dword [esp + 0xb0], eax
xor eax, eax
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], ax
push 1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x50]
mov byte [esp + 0x160], 7
push edx
mov dword [esp + 0x20], 0x3d
call fcn.004271b0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4472aa
mov dword [esp + 0x2c], 0x3b
mov dword [esp + 0x14], 0x3d
cmp ebx, edi
jbe 0x447104
lea eax, [esp + 0x48]
mov ecx, ebx
sub ecx, edi
push eax
mov edx, edi
lea esi, [esp + 0x68]
call fcn.00426940
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x15c], 8
call fcn.0041f640
mov byte [esp + 0x158], 7
cmp dword [esp + 0x78], 8
jb 0x447104
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004a9dd8
add esp, 4
push 1
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x50]
lea edi, [ebx + 1]
push eax
mov eax, edi
call fcn.004271b0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x447166
lea ecx, [esp + 0x48]
push ecx
or ecx, eax
mov edx, edi
lea esi, [esp + 0x68]
call fcn.00426940
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x15c], 9
call fcn.0041f640
mov byte [esp + 0x158], 7
cmp dword [esp + 0x78], 8
jb 0x4471b2
mov edx, dword [esp + 0x64]
push edx
call fcn.004a9dd8
add esp, 4
jmp 0x4471b2
cmp ebx, edi
jb 0x4471b2
lea eax, [esp + 0x48]
mov ecx, ebx
sub ecx, edi
push eax
mov edx, edi
lea esi, [esp + 0x68]
call fcn.00426940
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x15c], 0xa
call fcn.0041f640
mov byte [esp + 0x158], 7
cmp dword [esp + 0x78], 8
jb 0x4471af
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004a9dd8
add esp, 4
lea edi, [ebx + 1]
push 0xffffffffffffffff
xor esi, esi
push esi
lea eax, [esp + 0xc0]
xor edx, edx
mov ebx, 7
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], esi
mov word [esp + 0x70], dx
call fcn.0041f520
push 0xffffffffffffffff
mov byte [esp + 0x15c], 0xb
xor ecx, ecx
push esi
lea edx, [esp + 0xa4]
mov word [esp + 0x88], cx
push edx
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], esi
call fcn.0041f520
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x15c], 0xc
call fcn.00448cc0
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004485f0
mov byte [esp + 0x158], bl
cmp dword [esp + 0x94], 8
jb 0x447260
mov eax, dword [esp + 0x80]
push eax
call fcn.004a9dd8
add esp, 4
xor ecx, ecx
cmp dword [esp + 0x78], 8
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], esi
mov word [esp + 0x80], cx
jb 0x44728c
mov edx, dword [esp + 0x64]
push edx
call fcn.004a9dd8
add esp, 4
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x50]
push ecx
mov eax, edi
call fcn.004271b0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4470bb
push 0x4fdb54
lea ecx, [esp + 0x68]
call fcn.0041f060
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x6c]
mov byte [esp + 0x160], 0xd
call fcn.00447aa0
mov ebx, 8
mov byte [esp + 0x158], 7
cmp dword [esp + 0x78], ebx
jb 0x4472f3
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004a9dd8
add esp, 4
mov esi, dword [esp + 0x2c]
cmp esi, dword [esp + 0x1c]
je 0x44730c
mov edx, dword [esp + 0x34]
push edx
mov edx, 0x4fdb54
jmp 0x4473a8
push 0x500d5c
lea ecx, [esp + 0x68]
call fcn.0041f060
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea esi, [esp + 0x6c]
mov byte [esp + 0x160], 0xe
call fcn.00447aa0
mov esi, dword [eax]
lea ecx, [esp + 0x64]
mov byte [esp + 0x158], 7
call fcn.00428ed0
cmp esi, dword [esp + 0x1c]
jne 0x44739e
lea ecx, [esp + 0x9c]
call fcn.00428ed0
lea ecx, [esp + 0xb8]
call fcn.00428ed0
mov byte [esp + 0x158], 0xf
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x30]
lea esi, [esp + 0x20]
call fcn.00447ee0
mov edx, dword [esp + 0x1c]
push edx
call fcn.004a9dd8
add esp, 4
lea ecx, [esp + 0x48]
call fcn.00428ed0
jmp 0x446f6b
mov eax, dword [esp + 0x34]
push eax
mov edx, 0x500d5c
call fcn.0041c3e0
push 0xffffffffffffffff
lea eax, [esi + 0x28]
push 0
push eax
lea ecx, [esp + 0x54]
call fcn.0041f520
push 1
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push edx
xor eax, eax
mov dword [esp + 0x38], 0x3a
call fcn.004271b0
mov edi, eax
cmp edi, 0xffffffff
jne 0x44741f
lea ecx, [esp + 0x9c]
call fcn.00428ed0
lea ecx, [esp + 0xb8]
call fcn.00428ed0
mov byte [esp + 0x158], 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x30]
lea esi, [esp + 0x20]
call fcn.00447ee0
mov eax, dword [esp + 0x1c]
push eax
jmp 0x447388
lea ecx, [esp + 0x48]
push ecx
lea edx, [edi + 1]
or ecx, 0xffffffff
lea esi, [esp + 0x130]
call fcn.00426940
mov byte [esp + 0x158], 0x11
mov eax, dword [esp + 0x12c]
cmp dword [esp + 0x140], ebx
jae 0x447450
mov eax, esi
push eax
call fcn.004aac90
mov edx, dword [esp + 0x3c]
add esp, 4
mov dword [edx], eax
test eax, eax
jle 0x447507
cmp eax, 0x10000
jg 0x447507
lea eax, [esp + 0x48]
push eax
mov ecx, edi
xor edx, edx
lea esi, [esp + 0x68]
call fcn.00426940
mov byte [esp + 0x158], 0x13
mov ecx, dword [esp + 0x28]
push eax
call fcn.0041f640
mov ecx, esi
call fcn.00428ed0
lea ecx, [esp + 0x12c]
call fcn.00428ed0
lea ecx, [esp + 0x9c]
call fcn.00428ed0
lea ecx, [esp + 0xb8]
call fcn.00428ed0
mov byte [esp + 0x158], 0x14
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x30]
lea esi, [esp + 0x20]
call fcn.00447ee0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004a9dd8
add esp, 4
lea ecx, [esp + 0x48]
call fcn.00428ed0
lea esi, [esp + 0xd4]
call fcn.00445760
mov al, 1
jmp 0x446f79
lea ecx, [esp + 0x12c]
call fcn.00428ed0
lea ecx, [esp + 0x9c]
call fcn.00428ed0
lea ecx, [esp + 0xb8]
call fcn.00428ed0
mov byte [esp + 0x158], 0x12
jmp 0x44736e
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], ebx
call fcn.004a936f
push 0x514f9c
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], vtable.std::bad_alloc.0
call fcn.004aba66
int3