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

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ecx, dword [esi + 0x1af28]
mov al, byte [esi + 0x1af2c]
mov byte [ecx + esi + 0x19f20], al
mov ecx, 0xffff
mov eax, dword [esi + 0x1af48]
cmp word [eax], cx
jne 0x4469f1
movzx eax, word [esi + 8]
lea ecx, [esi + 0x28]
movzx edx, word [esi + 0xc]
xor edi, edi
add edx, eax
movzx eax, word [esi + 0x10]
add edx, eax
movzx eax, word [esi + 0x14]
add edx, eax
movzx eax, word [esi + 0x18]
add edx, eax
lea ebp, [edi + 0x3c]
movzx eax, word [esi + 0x1c]
add edx, eax
movzx eax, word [esi + 0x20]
add edx, eax
xor ebx, ebx
movzx eax, word [ecx - 4]
lea ecx, [ecx + 8]
add edi, eax
movzx eax, word [ecx - 8]
add ebx, eax
sub ebp, 1
jne 0x446992
movzx ecx, word [esi + 0x204]
lea eax, [ebx + edi]
xor edi, edi
add ecx, eax
mov dword [esp + 0x18], ecx
xor ebx, ebx
lea ecx, [esi + 0x20c]
lea ebp, [edi + 0x40]
movzx eax, word [ecx - 4]
lea ecx, [ecx + 8]
add edi, eax
movzx eax, word [ecx - 8]
add ebx, eax
sub ebp, 1
jne 0x4469c3
mov ecx, dword [esi + 0x1af48]
lea eax, [ebx + edi]
add edx, eax
mov eax, dword [esp + 0x18]
shr eax, 2
cmp eax, edx
sbb eax, eax
inc eax
mov word [ecx], ax
lea eax, [esi + 0xf84]
push eax
push esi
call fcn.00445520
mov eax, dword [esi]
add esp, 8
test dword [eax], 0x40000000
jne 0x446dfa
lea eax, [esi + 0xfa0]
push eax
push esi
call fcn.00445520
mov eax, dword [esi]
add esp, 8
test dword [eax], 0x40000000
jne 0x446dfa
push dword [esi + 0xf9c]
lea eax, [esi + 8]
push eax
push esi
call fcn.0044af50
push dword [esi + 0xfb8]
lea eax, [esi + 0x8fc]
push eax
push esi
call fcn.0044af50
lea eax, [esi + 0xfbc]
push eax
push esi
call fcn.00445520
mov edx, dword [esi]
add esp, 0x20
mov eax, dword [edx]
test eax, 0x40000000
jne 0x446ae9
mov edi, 0x12
mov ecx, 0x4fba5c
nop word [eax + eax]
movzx eax, byte [ecx + 2]
cmp word [esi + eax*4 + 0xeea], 0
jne 0x446ad6
movzx eax, byte [ecx + 1]
cmp word [esi + eax*4 + 0xeea], 0
jne 0x446ad5
movzx eax, byte [ecx]
cmp word [esi + eax*4 + 0xeea], 0
jne 0x446ad0
movzx eax, byte [ecx - 1]
cmp word [esi + eax*4 + 0xeea], 0
jne 0x446acb
sub ecx, 4
sub edi, 4
cmp ecx, 0x4fba4d
jge 0x446a80
jmp 0x446ad6
sub edi, 3
jmp 0x446ad6
sub edi, 2
jmp 0x446ad6
dec edi
lea eax, [edi*2 + 0x11]
add eax, edi
add dword [esi + 0x1af30], eax
mov eax, dword [edx]
jmp 0x446aed
mov edi, dword [esp + 0x18]
test eax, 0x40000000
jne 0x446dfa
mov eax, dword [esi + 0x1af30]
mov ecx, dword [esi + 0x1af34]
add eax, 0xa
mov ebx, dword [esp + 0x20]
add ecx, 0xa
shr eax, 3
shr ecx, 3
cmp ecx, eax
mov edx, ecx
cmova edx, eax
lea eax, [ebx + 4]
cmp eax, edx
ja 0x446c4e
cmp dword [esp + 0x1c], 0
je 0x446c4e
mov ebp, dword [esp + 0x24]
push 3
push ebp
push esi
call fcn.0044b0d0
mov ecx, dword [esi + 0x1af40]
mov eax, dword [esi + 0x1af44]
add ecx, 0xa
push esi
adc eax, 0
mov dword [esi + 0x1af40], 0
shrd ecx, eax, 3
mov dword [esi + 0x1af44], 0
shr eax, 3
add ecx, ebx
adc eax, 0
add ecx, 4
adc eax, 0
add dword [esi + 0x1af38], ecx
adc dword [esi + 0x1af3c], eax
call fcn.00445440
mov ecx, dword [esi + 0x1af5c]
add esp, 0x10
lea eax, [ecx + 3]
cmp eax, dword [esi + 0x1af60]
jb 0x446bb9
push ecx
push dword [esi + 0x1af58]
push dword [esi]
call fcn.0044be00
add esp, 0xc
mov dword [esi + 0x1af5c], 0
xor ecx, ecx
mov eax, dword [esi + 0x1af58]
mov byte [ecx + eax], bl
inc dword [esi + 0x1af5c]
mov edx, dword [esi + 0x1af5c]
mov eax, dword [esi + 0x1af58]
movzx ebx, bx
mov ecx, ebx
not ebx
shr ecx, 8
mov byte [edx + eax], cl
inc dword [esi + 0x1af5c]
mov edx, dword [esi + 0x1af5c]
mov eax, dword [esi + 0x1af58]
mov cl, byte [esp + 0x20]
not cl
shr ebx, 8
mov byte [edx + eax], cl
inc dword [esi + 0x1af5c]
mov ecx, dword [esi + 0x1af5c]
mov eax, dword [esi + 0x1af58]
mov byte [ecx + eax], bl
inc dword [esi + 0x1af5c]
push dword [esi + 0x1af5c]
push dword [esi + 0x1af58]
push dword [esi]
call fcn.0044be00
push dword [esp + 0x2c]
mov dword [esi + 0x1af5c], 0
push dword [esp + 0x2c]
push dword [esi]
call fcn.0044be00
add esp, 0x18
jmp 0x446da7
mov ebp, dword [esp + 0x24]
push 3
cmp ecx, edx
jne 0x446c84
lea eax, [ebp + 2]
push eax
push esi
call fcn.0044b0d0
lea eax, [esi + 0xe70]
push eax
lea eax, [esi + 0x9f0]
push eax
push esi
call fcn.00445900
mov eax, dword [esi + 0x1af34]
add esp, 0x18
jmp 0x446d63
lea eax, [ebp + 4]
push eax
push esi
call fcn.0044b0d0
mov eax, dword [esi + 0xf9c]
lea ebx, [edi + 1]
mov edi, dword [esi + 0xfb8]
mov dword [esp + 0x24], eax
add eax, 0xffffff00
push 5
push eax
push esi
mov dword [esp + 0x28], edi
call fcn.0044b0d0
add esp, 0x18
test eax, eax
je 0x446d49
push 5
push edi
push esi
call fcn.0044b0d0
add esp, 0xc
test eax, eax
je 0x446d49
push 4
lea eax, [ebx - 4]
push eax
push esi
call fcn.0044b0d0
add esp, 0xc
test eax, eax
je 0x446d49
xor edi, edi
test ebx, ebx
jle 0x446d1e
nop word [eax + eax]
mov eax, dword [esi]
test dword [eax], 0x40000000
jne 0x446d49
movzx eax, byte [edi + 0x4fba4c]
push 3
movzx eax, word [esi + eax*4 + 0xeea]
push eax
push esi
call fcn.0044b0d0
add esp, 0xc
test eax, eax
je 0x446d49
inc edi
cmp edi, ebx
jl 0x446cf0
push dword [esp + 0x18]
lea ebx, [esi + 8]
push ebx
push esi
call fcn.0044b1a0
add esp, 0xc
lea edi, [esi + 0x8fc]
test eax, eax
je 0x446d52
push dword [esp + 0x10]
push edi
push esi
call fcn.0044b1a0
add esp, 0xc
jmp 0x446d52
lea ebx, [esi + 8]
lea edi, [esi + 0x8fc]
push edi
push ebx
push esi
call fcn.00445900
mov eax, dword [esi + 0x1af30]
add esp, 0xc
add eax, 3
add dword [esi + 0x1af40], eax
mov edx, dword [esi + 0x1af40]
adc dword [esi + 0x1af44], 0
mov ecx, dword [esi + 0x1af44]
mov eax, edx
mov dword [esi + 0x1af44], 0
shrd eax, ecx, 3
shr ecx, 3
add dword [esi + 0x1af38], eax
adc dword [esi + 0x1af3c], ecx
and edx, 7
mov dword [esi + 0x1af40], edx
mov eax, dword [esi]
cmp dword [eax + 0x20], 0
jne 0x446dfa
push esi
call fcn.00449ec0
add esp, 4
test ebp, ebp
je 0x446dd3
push esi
call fcn.00445440
add esp, 4
add dword [esi + 0x1af40], 7
adc dword [esi + 0x1af44], 0
mov ecx, dword [esi + 0x1af44]
mov edx, dword [esi + 0x1af40]
mov eax, dword [esi]
shrd edx, ecx, 3
shr ecx, 3
add edx, dword [esi + 0x1af38]
adc ecx, dword [esi + 0x1af3c]
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret