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

Disassembly:
sub esp, 0x48
push esi
mov esi, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x1b4]
mov eax, dword [eax]
test byte [eax + 0x44], 1
push edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], eax
je 0x446bad
pop edi
xor eax, eax
pop esi
add esp, 0x48
ret
lea edi, [edi + edi*8]
add edi, edi
add edi, edi
add edi, edi
push ebp
mov ebp, dword [esi + 0x1c]
mov edx, dword [edi + ebp + 0x34]
lea eax, [edi + ebp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x446bf2
cmp dword [esi + 0x38], 0
jne 0x446c2e
test ecx, ecx
je 0x446bf2
cmp dword [ecx + 0x10], 0
jne 0x446c2e
test dword [esi + 8], 0x100
je 0x446bff
test ecx, ecx
jne 0x446c2e
mov edx, dword [edx]
mov dword [esp + 0x2c], edx
test edx, edx
je 0x446c2e
mov edx, dword [eax + 8]
test dl, 1
jne 0x446c2e
test ecx, ecx
je 0x446c22
cmp dword [ebp], 1
jg 0x446c2e
cmp dword [esp + 0x60], 0
jne 0x446c2e
cmp dword [esi + 0x2c], 0
je 0x446c37
cmp dword [eax + 0x2c], 0
je 0x446c37
pop ebp
pop edi
xor eax, eax
pop esi
add esp, 0x48
ret
push ebx
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x446c4a
cmp dword [eax + 0x2c], 0
jne 0x446dc0
test ecx, ecx
je 0x446c66
cmp dword [esi + 0x20], 0
jne 0x446dc0
test ecx, ecx
je 0x446c66
test byte [esi + 8], 1
jne 0x446dc0
test edx, 0x2000
jne 0x446dc0
test byte [edi + ebp + 0x2c], 0x20
lea ecx, [edi + ebp + 0x2c]
mov dword [esp + 0x38], ecx
je 0x446cab
mov ecx, 1
cmp dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ecx
jg 0x446dc0
test ebx, ebx
jne 0x446dc0
mov ecx, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x18]
cmp dword [ecx + 0x38], ebx
jne 0x446dc0
cmp dword [eax + 0x30], 0
je 0x446d35
cmp dword [eax + 0x2c], 0
jne 0x446dc0
test ebx, ebx
jne 0x446dc0
test byte [esi + 8], 1
jne 0x446dc0
cmp dword [ebp], 1
jne 0x446dc0
mov dl, 9
lea ecx, [ecx]
test byte [eax + 8], dl
jne 0x446dc0
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x446cfa
cmp byte [eax + 4], 0x75
jne 0x446dc0
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jl 0x446dc0
mov eax, ecx
test eax, eax
jne 0x446ce0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x446d35
cmp dword [ecx], eax
jle 0x446d35
add ecx, 0x18
lea ebx, [ebx]
cmp word [ecx], 0
je 0x446dc0
mov edx, dword [esi + 0x2c]
inc eax
add ecx, 0x18
cmp eax, dword [edx]
jl 0x446d20
mov ecx, dword [edi + ebp + 0x10]
mov eax, dword [esp + 0x5c]
push 0
push 0
lea ebx, [edi + ebp + 0x10]
push 0
push 0x15
mov dword [esp + 0x40], ebx
mov dword [eax + 0x1b4], ecx
call fcn.004424e0
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x1b4], edx
mov eax, dword [ecx + 0x30]
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x446e01
lea esp, [esp]
mov edx, dword [esp + 0x14]
mov ebx, dword [esi + 0x2c]
mov edi, dword [esi + 0x38]
mov ebp, dword [esi + 0x30]
xor eax, eax
push eax
push esi
push edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
call fcn.00438680
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esi + 0x38], edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], ecx
mov byte [esi + 4], 0x75
test eax, eax
jne 0x446dca
mov dword [esi + 0x30], ebp
jmp 0x446dda
pop ebx
pop ebp
pop edi
xor eax, eax
pop esi
add esp, 0x48
ret
mov dword [eax + 0x30], ebp
test ebp, ebp
je 0x446dd4
mov dword [ebp + 0x34], eax
mov dword [eax + 0x34], esi
mov dword [esi + 0x30], eax
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x49], 0
jne 0x4470da
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x446d80
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov ebp, ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], eax
mov eax, dword [edi + ebp + 0xc]
call fcn.0041ca60
mov eax, dword [ebx]
mov ecx, dword [esp + 0x14]
call fcn.0041ca60
mov eax, dword [edi + ebp + 0x14]
mov ecx, dword [esp + 0x14]
call fcn.0041ca60
mov eax, dword [edi + ebp + 0x18]
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov dword [edi + ebp + 0xc], ecx
mov dword [edi + ebp + 0x14], ecx
lea edi, [edi + ebp + 0x18]
mov dword [ebx], ecx
mov dword [edx], ecx
cmp eax, ecx
je 0x446e8e
mov ecx, dword [eax + 0x20]
cmp ecx, 1
jne 0x446e84
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + 0x78]
test ecx, ecx
jne 0x446e67
mov ecx, edx
mov edx, dword [ecx + 0x1c4]
mov dword [eax + 0x4c], edx
mov ebp, esi
mov dword [ecx + 0x1c4], eax
mov dword [edi], 0
mov dword [esp + 0x20], ebp
jmp 0x446ea4
dec ecx
mov dword [eax + 0x20], ecx
mov dword [edi], 0
mov ebp, esi
mov dword [esp + 0x20], ebp
jmp 0x446ea4
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x1c]
mov byte [esp + 0x13], 0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x446ed1
mov ecx, dword [esp + 0x38]
mov dl, byte [ecx]
mov byte [esp + 0x13], dl
jmp 0x446f44
push 0
push 0x50
mov eax, edi
call fcn.00429db0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x446f2f
push 0x48
lea eax, [ebx + 8]
push 0
push eax
mov dword [ebx + 4], 1
mov dword [ebx], 1
call fcn.00494780
add esp, 0xc
mov dword [ebx + 0x34], 0xffffffff
cmp byte [edi + 0x49], 0
je 0x446f1e
push ebx
mov eax, edi
call fcn.00425e70
add esp, 4
xor ebx, ebx
jmp 0x446f2f
mov eax, dword [ebx]
lea ecx, [eax + eax*8]
lea eax, [ebx + ecx*8 - 0x40]
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [ebp + 0x1c], ebx
mov eax, ebx
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4470c2
mov edi, dword [esp + 0x14]
cmp esi, 1
jle 0x446f6e
mov edx, dword [esp + 0x60]
inc edx
push edx
lea ecx, [esi - 1]
push ecx
push eax
push edi
call fcn.00434a00
add esp, 0x10
mov dword [ebp + 0x1c], eax
cmp byte [edi + 0x49], 0
mov dword [esp + 0x1c], eax
jne 0x4470c2
test esi, esi
jle 0x446fc8
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add ebp, 8
lea ebx, [edx + eax + 8]
mov dword [esp + 0x30], esi
lea esp, [esp]
mov edi, dword [ebx + 0x34]
mov esi, dword [esp + 0x14]
call fcn.00425ce0
push 0x48
mov ecx, 0x12
mov esi, ebp
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x2c]
push 0
push ebp
mov dword [esp + 0x34], ecx
call fcn.00494780
add esp, 0xc
add ebx, 0x48
add ebp, 0x48
sub dword [esp + 0x30], 1
jne 0x446f90
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov cl, byte [esp + 0x13]
mov edi, dword [esp + 0x18]
mov byte [edx + eax + 0x2c], cl
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x44700d
xor ecx, ecx
cmp dword [eax], ecx
jle 0x446ffd
lea edx, [eax + 0x18]
lea esp, [esp]
xor esi, esi
mov word [edx], si
inc ecx
add edx, 0x18
cmp ecx, dword [eax]
jl 0x446ff0
mov esi, dword [esp + 0x20]
mov dword [esi + 0x2c], eax
mov dword [edi + 0x2c], 0
jmp 0x447011
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 0x20]
mov ebp, dword [esp + 0x14]
test eax, eax
je 0x44702e
push 0
push 0
push eax
push ebp
call fcn.0043a990
add esp, 0x10
mov ebx, eax
jmp 0x447030
xor ebx, ebx
cmp dword [esp + 0x2c], 0
jle 0x447045
mov edx, dword [esp + 0x28]
push edx
push ebx
call fcn.00426e00
add esp, 8
mov eax, dword [esi + 0x20]
push ebx
mov ecx, ebp
call fcn.00433b30
add esp, 4
mov dword [esi + 0x20], eax
cmp byte [ebp + 0x49], 0
jne 0x447092
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
push 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi]
lea edx, [esp + 0x48]
push esi
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
call fcn.00446a10
add esp, 0xc
mov eax, dword [edi + 8]
and eax, 1
or dword [esi + 8], eax
mov eax, dword [edi + 0x38]
test eax, eax
je 0x4470ac
mov dword [esi + 0x38], eax
mov dword [edi + 0x38], 0
mov esi, dword [esi + 0x30]
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ecx
test esi, esi
jne 0x446ea0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4470da
mov edx, dword [esp + 0x14]
push 1
push eax
push edx
call fcn.00426bf0
add esp, 0xc
pop ebx
pop ebp
pop edi
mov eax, 1
pop esi
add esp, 0x48
ret