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

Disassembly:
push 0xffffffffffffffff
push 0x46c870
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
xor ebx, ebx
or esi, 0xffffffff
push edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x84]
push 1
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x80], ebx
call fcn.004408a0
test al, al
je 0x4462ff
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.004533c0
test al, al
jne 0x446094
lea ecx, [esp + 0x24]
call fcn.00440850
jmp 0x4462ff
mov eax, dword [esp + 0x60]
cmp word [eax + 6], bx
mov dword [esp + 0x10], ebx
jbe 0x4462ff
mov edi, dword [esp + 0x6c]
mov ebp, dword [fcn.0040124c]
add edi, 8
push 8
lea ecx, [edi - 8]
push ecx
mov esi, 0xf
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00436410
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x5c]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0xa0], 1
mov byte [ecx + 4], bl
call fcn.00436320
mov ecx, 0x471c10
call fcn.00441bb0
mov eax, dword [edi + 4]
push eax
lea ecx, [esp + 0x1c]
push 0x405d04
push ecx
call ebp
add esp, 0xc
push 1
push 0xffffffffffffffff
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0x3c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x38], esp
mov byte [esi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x446138
sub eax, ecx
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.00436410
mov ecx, 0x471c10
call fcn.00441c70
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x1c]
push 0x405d04
push ecx
call ebp
add esp, 0xc
push 2
push 0xffffffffffffffff
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0x3c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x38], esp
mov byte [esi + 4], bl
lea ecx, [eax + 1]
jmp 0x446190
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x446190
sub eax, ecx
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.00436410
mov ecx, 0x471c10
call fcn.00441c70
mov eax, dword [edi + 0xc]
push eax
lea ecx, [esp + 0x1c]
push 0x405d04
push ecx
call ebp
add esp, 0xc
push 3
push 0xffffffffffffffff
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0x3c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x38], esp
mov byte [esi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4461e4
sub eax, ecx
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.00436410
mov ecx, 0x471c10
call fcn.00441c70
mov eax, dword [edi + 8]
push eax
lea ecx, [esp + 0x1c]
push 0x405d04
push ecx
call ebp
add esp, 0xc
push 4
push 0xffffffffffffffff
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0x3c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x38], esp
mov byte [esi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x446238
sub eax, ecx
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, esi
call fcn.00436410
mov ecx, 0x471c10
call fcn.00441c70
mov eax, dword [edi + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push 0x405d04
push ecx
call ebp
add esp, 0xc
push 5
push 0xffffffffffffffff
sub esp, 0x1c
mov ecx, esp
lea esi, [esp + 0x3c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x38], esp
mov byte [ecx + 4], bl
lea eax, [esi + 1]
lea esp, [esp]
mov dl, byte [esi]
inc esi
cmp dl, bl
jne 0x446290
sub esi, eax
push esi
lea edx, [esp + 0x40]
push edx
call fcn.00436410
mov ecx, 0x471c10
call fcn.00441c70
mov ecx, 0x471c10
call fcn.00441b20
cmp dword [esp + 0x50], 0x10
mov byte [esp + 0x78], bl
jb 0x4462d0
mov eax, dword [esp + 0x3c]
push eax
call fcn.00461b2d
add esp, 4
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 6]
inc eax
add edi, 0x28
cmp eax, edx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x10], eax
jl 0x4460b3
or esi, 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], esi
call fcn.00440850
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret