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

Disassembly:
sub esp, 0x4bc
mov eax, dword [0x7079d0]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x2c]
push esi
push edi
mov edi, dword [ebp + 0x28]
mov dword [esp + 0x10], eax
cmp eax, 1
jbe 0x446c91
lea ebx, [ebp + 0x54]
mov ecx, dword [edi + 8]
call fcn.00446500
mov esi, eax
call fcn.004464f0
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp ecx, 0xffffffff
jbe 0x446bae
xor eax, eax
jmp 0x446bcb
test ecx, ecx
jne 0x446bb6
xor eax, eax
jmp 0x446bcb
movzx eax, byte [0x786e98]
push eax
push ecx
call fcn.004477b0
mov ecx, dword [esp + 0x24]
add esp, 8
push ecx
push esi
push eax
mov dword [esp + 0x2c], eax
call sub.MSVCR90.dll_memcpy
movzx ecx, byte [ebp + 0x61]
add esp, 0xc
push 1
push ecx
push ebx
xor eax, eax
push 1
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.0045d7c0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x48]
call fcn.0045b010
mov esi, dword [eax]
test esi, esi
jne 0x446d18
movzx ecx, byte [0x786e84]
push ecx
push 0x21c
call fcn.00431e40
add esp, 8
test eax, eax
je 0x446c4d
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x2a8]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push ecx
mov ecx, eax
call fcn.0045b3c0
jmp 0x446c4f
xor eax, eax
push eax
mov ecx, ebx
call fcn.004468d0
mov edi, dword [edi]
dec dword [esp + 0x10]
lea ecx, [esp + 0x44]
call fcn.0045b800
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push edx
push 0
push eax
mov esi, eax
call sub.MSVCR90.dll_memset
push esi
call fcn.0041c840
add esp, 0x10
cmp dword [esp + 0x10], 1
ja 0x446b90
mov eax, dword [esp + 0x10]
test eax, eax
je 0x446ea8
mov ecx, dword [edi + 8]
call fcn.004464f0
push eax
call fcn.00446500
push eax
lea ecx, [esp + 0x38]
call fcn.0041d150
movzx edx, byte [ebp + 0x61]
push 1
push edx
lea eax, [ebp + 0x54]
push eax
push 1
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x58]
call fcn.0045d7c0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x48]
call fcn.0045b010
mov edi, dword [eax]
mov dword [esp + 0x14], edi
test edi, edi
je 0x446d44
cmp edi, 0x40f
je 0x446d44
lea ecx, [esp + 0x44]
call fcn.0045b800
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push ecx
push 0
push eax
mov esi, eax
call sub.MSVCR90.dll_memset
push esi
call fcn.0041c840
add esp, 0x10
mov eax, edi
jmp 0x446eaa
lea ecx, [esp + 0x44]
call fcn.0045b800
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push ecx
push 0
push eax
mov edi, eax
call sub.MSVCR90.dll_memset
push edi
call fcn.0041c840
add esp, 0x10
mov eax, esi
jmp 0x446eaa
mov eax, dword [esp + 0x50]
lea esi, [ebp + 0x30]
push eax
mov ecx, esi
mov edi, eax
call fcn.00451b10
mov edx, dword [esp + 0x4c]
push edi
push edx
mov ecx, esi
call fcn.00451e10
xor eax, eax
cmp dword [esp + 0x64], 0x285
setne al
inc eax
mov dword [ebp + 0x50], eax
lea eax, [esp + 0xa4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446d80
sub eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2a4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446d97
sub eax, edx
mov ebx, eax
lea eax, [esp + 0x4a4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446db0
sub eax, edx
mov edi, eax
lea eax, [esp + 0x4b5]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446dc5
movzx ecx, byte [0x786e84]
push ecx
sub eax, edx
push 0x50
mov esi, eax
call fcn.00431e40
add esp, 8
test eax, eax
je 0x446e2f
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push ecx
inc esi
push esi
lea edx, [esp + 0x4c9]
push edx
inc edi
push edi
lea ecx, [esp + 0x4c0]
push ecx
mov ecx, dword [esp + 0x4c]
inc ebx
push ebx
lea edx, [esp + 0x2c8]
push edx
inc ecx
push ecx
lea edx, [esp + 0xd0]
push edx
mov ecx, eax
call fcn.00435350
jmp 0x446e31
xor eax, eax
mov edi, 0x40f
mov dword [ebp + 0x48], eax
cmp dword [esp + 0x14], edi
jne 0x446e83
mov ebp, dword [ebp + 0x68]
test ebp, ebp
je 0x446cec
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
dec ecx
push 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
call ebp
add esp, 8
test eax, eax
je 0x446cec
lea ecx, [esp + 0x44]
call fcn.0045b800
lea ecx, [esp + 0x30]
call fcn.0041d1b0
jmp 0x446ea8
lea ecx, [esp + 0x44]
call fcn.0045b800
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push edx
push 0
push eax
mov esi, eax
call sub.MSVCR90.dll_memset
push esi
call fcn.0041c840
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x4c8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00466e0a
add esp, 0x4bc
ret