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

Disassembly:
sub esp, 0x130
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x14c]
or eax, 0xffffffff
push ebx
mov ebx, dword [esp + 0x148]
push ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x148]
push esi
mov esi, dword [esp + 0x140]
lea ebp, [ecx + eax]
push edi
xor edi, edi
lea eax, [ebp - 1]
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], eax
test ebx, 0xe20f5a6f
je 0x4466ad
lea eax, [edi - 3]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
cmp esi, edi
je 0x447185
cmp ecx, edi
je 0x447185
cmp dword [esp + 0x158], edi
jne 0x4466ce
cmp edx, edi
jg 0x447185
cmp edx, edi
jge 0x4466e2
mov eax, 0xfffffff1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
movzx eax, word [esi + 0x1a]
movzx ecx, word [esi + 0x18]
movzx edx, word [esi + 0x1c]
mov dword [esp + 0x6c], eax
mov eax, 0x989680
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x20]
add ecx, esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0xdc], edi
mov dword [esp + 0x10], eax
cmp eax, edi
jne 0x446723
mov dword [esp + 0x10], 0x4850b0
cmp dword [esi], 0x50435245
je 0x44675b
lea ecx, [esp + 0x114]
push ecx
push edi
lea edx, [esp + 0xf4]
push edx
push esi
call fcn.00439188
mov esi, eax
add esp, 0x10
cmp esi, edi
jne 0x44675b
mov eax, 0xfffffffc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
mov eax, dword [esi + 8]
movzx edx, word [esi + 0x1c]
movzx ecx, al
shr eax, 0x12
and eax, 1
mov dword [esp + 0x30], eax
movzx eax, word [esi + 0x1a]
imul edx, eax
movzx eax, word [esi + 0x18]
add edx, dword [esp + 0x144]
movzx edi, bl
add eax, edx
mov edx, dword [esp + 0x14c]
or edi, ecx
movzx ecx, byte [esi + 0xc]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0xac], eax
add eax, edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0x44], eax
shr ecx, 3
and ecx, 1
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x150]
mov dword [esp + 0xcc], ecx
movzx eax, byte [esi + 8]
shr eax, 5
and eax, 1
mov dword [esp + 0x94], eax
mov ecx, dword [esi + 8]
shr ecx, 0xb
and ecx, 1
mov dword [esp + 0x8c], ecx
mov eax, dword [esi + 8]
shr eax, 0x19
and eax, 1
mov dword [esp + 0x90], eax
shr edi, 4
and edi, 1
mov eax, 0
test bl, 0x80
setne al
mov dword [esp + 0xe8], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x84], eax
mov eax, ebx
shr eax, 8
and eax, 1
mov dword [esp + 0x88], eax
mov eax, ebx
shr eax, 0xa
and eax, 1
mov dword [esp + 0x98], eax
mov eax, ebx
shr eax, 0x1c
and eax, 1
mov dword [esp + 0x9c], eax
test ebx, 0x8000000
je 0x446860
mov eax, 2
jmp 0x446868
mov eax, ebx
shr eax, 0xf
and eax, 1
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
add eax, 0x340
mov dword [esp + 0x7c], eax
xor edx, edx
mov eax, ebx
and eax, 0x1800000
mov dword [esp + 0xa0], edx
mov dword [esp + 0xd8], edx
je 0x4468c4
cmp eax, 0x800000
je 0x4468b7
cmp eax, 0x1000000
je 0x4468dd
mov eax, 0xffffffe9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
mov dword [esp + 0xa4], 1
jmp 0x4468e4
mov eax, dword [esi + 8]
test eax, 0x1800000
je 0x4468dd
shr eax, 0x17
and eax, 1
mov dword [esp + 0xa4], eax
jmp 0x4468e4
mov dword [esp + 0xa4], edx
test ebx, 0x700000
jne 0x4468f1
mov eax, dword [esi + 8]
jmp 0x4468f3
mov eax, ebx
and eax, 0x700000
cmp eax, 0x300000
ja 0x44694a
je 0x446943
cmp eax, edx
je 0x446913
cmp eax, 0x100000
je 0x44693c
cmp eax, 0x200000
jne 0x4468a7
mov eax, 0xa
cmp eax, 0xff
mov dword [esp + 0x60], edx
jle 0x446970
mov edx, eax
sar edx, 8
mov byte [esp + 0x74], dl
mov dword [esp + 0x64], 2
mov byte [esp + 0x75], al
xor edx, edx
jmp 0x44697c
mov eax, 0xd
jmp 0x446918
mov eax, 0xd0a
jmp 0x446918
cmp eax, 0x400000
je 0x446966
cmp eax, 0x500000
jne 0x4468a7
mov dword [esp + 0x60], 2
jmp 0x44697c
mov dword [esp + 0x60], 1
jmp 0x44697c
mov dword [esp + 0x64], 1
mov byte [esp + 0x74], al
cmp dword [esp + 0xc0], edx
je 0x44699b
test byte [esi + 0xc], 1
je 0x44699b
mov eax, 0xfffffff3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
cmp ecx, edx
je 0x446a0e
test ebx, 0x2000
jne 0x446a0e
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x148]
push eax
push ecx
call fcn.0043169c
add esp, 8
test eax, eax
jl 0x4469d3
mov eax, 0xfffffff6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
mov eax, dword [esp + 0x150]
test eax, eax
jle 0x446a0e
cmp eax, dword [esp + 0x14c]
jge 0x446a0e
movzx eax, byte [ebp]
cmp eax, 0x7f
jle 0x446a0e
and eax, 0xc0
je 0x446a0e
cmp eax, 0xc0
je 0x446a0e
mov eax, 0xfffffff5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
mov eax, dword [esi + 8]
and eax, 7
mov dword [esp + 0xe4], eax
mov eax, 0x55555556
imul dword [esp + 0x15c]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
movzx eax, word [esi + 0x12]
mov dword [esp + 0x18], edx
test ax, ax
jbe 0x446a8e
movzx ecx, ax
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x446a8e
lea eax, [ecx + ecx*2 + 3]
lea ecx, [eax*4]
push ecx
mov dword [esp + 0x1c], eax
call dword [0x490670]
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
jne 0x446a84
mov eax, 0xfffffffa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
mov dword [esp + 0x28], 1
jmp 0x446a99
mov edx, dword [esp + 0x158]
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x18]
lea edx, [ecx + ecx]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0xc8], 0xffffffff
movzx eax, word [esi + 0x10]
lea eax, [eax + eax + 2]
cmp eax, dword [esp + 0x15c]
mov dword [esp + 0x18], eax
jle 0x446ae7
mov eax, ecx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x54]
test edx, edx
je 0x446b1c
lea ecx, [edx + ecx*4]
cdq
sub eax, edx
sar eax, 1
mov edx, 1
sub edx, eax
lea eax, [ecx + edx*4]
sub ecx, 4
cmp ecx, eax
jb 0x446b1c
lea esp, [esp]
mov dword [ecx], 0xffffffff
sub ecx, 4
cmp ecx, eax
jae 0x446b0f
test edi, edi
jne 0x446b50
test byte [esi + 0xc], 2
je 0x446b50
movzx eax, word [esi + 0x14]
movzx ecx, al
mov dword [esp + 0x1c], ecx
test eax, 0x100
je 0x446c0f
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + ecx]
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], ecx
test byte [esi + 0xc], 4
je 0x446b7b
movzx eax, word [esi + 0x16]
mov edx, dword [esp + 0x10]
movzx ecx, al
shr eax, 8
and eax, 1
mov dword [esp + 0x3c], eax
movzx eax, byte [edx + ecx + 0x100]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
and ebx, 0x4000000
mov dword [esp + 0x40], ebx
jmp 0x446b8f
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], ebx
test edi, edi
je 0x446bb6
mov ecx, dword [esp + 0x18]
lea ecx, [edi + ecx*4]
cmp edi, ecx
jae 0x446bb6
sub ecx, edi
dec ecx
shr ecx, 2
inc ecx
or eax, 0xffffffff
rep stosd dword es:[edi], eax
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x64]
je 0x446caf
cmp dword [esp + 0x14], 0
mov edi, ebp
je 0x446c54
cmp ebp, eax
jae 0x446cad
mov edx, dword [esp + 0x60]
test edx, edx
je 0x446c1c
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x68]
push ecx
push eax
push edx
push edi
call fcn.00431924
mov ecx, dword [esp + 0x78]
add esp, 0x14
test eax, eax
jne 0x446cad
mov eax, dword [esp + 0xb0]
jmp 0x446c3a
mov dword [esp + 0x20], 0
jmp 0x446b50
mov edx, eax
sub edx, ecx
cmp edi, edx
ja 0x446c3a
mov dl, byte [edi]
cmp dl, byte [esp + 0x74]
jne 0x446c3a
cmp ecx, 1
je 0x446cad
mov dl, byte [edi + 1]
cmp dl, byte [esp + 0x75]
je 0x446cad
inc edi
cmp edi, ebx
jae 0x446c4e
mov dl, byte [edi]
and dl, 0xc0
cmp dl, 0x80
jne 0x446c4e
inc edi
cmp edi, ebx
jb 0x446c3f
cmp edi, eax
jb 0x446bdd
jmp 0x446cad
cmp ebp, eax
jae 0x446cad
lea esp, [esp]
mov edx, dword [esp + 0x60]
test edx, edx
je 0x446c8a
push 0
lea ecx, [esp + 0x68]
push ecx
push eax
push edx
push edi
call fcn.00431924
mov ecx, dword [esp + 0x78]
add esp, 0x14
test eax, eax
jne 0x446cad
mov eax, dword [esp + 0xb0]
jmp 0x446ca8
mov edx, eax
sub edx, ecx
cmp edi, edx
ja 0x446ca8
mov dl, byte [esp + 0x74]
cmp byte [edi], dl
jne 0x446ca8
cmp ecx, 1
je 0x446cad
mov dl, byte [esp + 0x75]
cmp byte [edi + 1], dl
je 0x446cad
inc edi
cmp edi, eax
jb 0x446c5f
mov ebx, edi
cmp dword [esp + 0x40], 0
mov edi, dword [esp + 0x1c]
jne 0x446e4f
test edi, edi
jl 0x446d15
cmp dword [esp + 0x20], 0
je 0x446cef
cmp ebp, ebx
jae 0x446e4f
movzx eax, byte [ebp]
mov ecx, dword [esp + 0x78]
movzx edx, byte [eax + ecx]
cmp edx, edi
je 0x446e4f
inc ebp
cmp ebp, ebx
jb 0x446cd1
jmp 0x446e4f
cmp ebp, ebx
jae 0x446e4f
jmp 0x446cff
movzx eax, byte [ebp]
cmp eax, edi
je 0x446e4f
inc ebp
cmp ebp, ebx
jb 0x446cff
jmp 0x446e4f
cmp dword [esp + 0xe0], 0
je 0x446e4f
mov edx, dword [esp + 0x150]
mov eax, dword [esp + 0xac]
add edx, eax
cmp ebp, edx
jbe 0x446e4f
cmp dword [esp + 0x14], 0
je 0x446dc6
cmp ebp, ebx
jae 0x446e24
jmp 0x446d57
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x60]
test edx, edx
je 0x446d86
cmp ebp, eax
jbe 0x446dab
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x68]
push ecx
push eax
push edx
push ebp
call fcn.004317d3
add esp, 0x14
test eax, eax
jne 0x446e24
mov ecx, dword [esp + 0x64]
jmp 0x446dab
lea edx, [ecx + eax]
cmp ebp, edx
jb 0x446dab
mov eax, ebp
sub eax, ecx
mov dl, byte [eax]
cmp dl, byte [esp + 0x74]
jne 0x446dab
cmp ecx, 1
je 0x446e24
mov dl, byte [esp + 0x75]
cmp byte [eax + 1], dl
je 0x446e24
inc ebp
cmp ebp, ebx
jae 0x446e24
mov al, byte [ebp]
and al, 0xc0
cmp al, 0x80
jne 0x446dc0
inc ebp
cmp ebp, ebx
jb 0x446db0
jmp 0x446e24
cmp ebp, ebx
jb 0x446d50
jmp 0x446e24
cmp ebp, ebx
jae 0x446e24
jmp 0x446dd6
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x60]
test edx, edx
je 0x446dfe
cmp ebp, eax
jbe 0x446e1f
push 0
lea ecx, [esp + 0x68]
push ecx
push eax
push edx
push ebp
call fcn.004317d3
add esp, 0x14
test eax, eax
jne 0x446e24
mov ecx, dword [esp + 0x64]
jmp 0x446e1f
lea edx, [ecx + eax]
cmp ebp, edx
jb 0x446e1f
mov eax, ebp
sub eax, ecx
mov dl, byte [eax]
cmp dl, byte [esp + 0x74]
jne 0x446e1f
cmp ecx, 1
je 0x446e24
mov dl, byte [esp + 0x75]
cmp byte [eax + 1], dl
je 0x446e24
inc ebp
cmp ebp, ebx
jb 0x446dcf
cmp byte [ebp - 1], 0xd
jne 0x446e4f
mov eax, dword [esp + 0x60]
cmp eax, 1
je 0x446e38
cmp eax, 2
jne 0x446e4f
cmp ebp, ebx
jae 0x446e4f
cmp byte [ebp], 0xa
jne 0x446e4f
inc ebp
jmp 0x446e4f
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
jne 0x446f07
cmp dword [esp + 0xc0], 0
jne 0x446f07
mov edx, dword [esp + 0x2c]
test edx, edx
jl 0x446f07
mov ebx, eax
sub eax, ebp
cmp eax, 0x3e8
jge 0x446f07
xor eax, eax
test edi, edi
setge al
add eax, ebp
cmp eax, dword [esp + 0x38]
jbe 0x446f07
cmp dword [esp + 0x3c], 0
je 0x446eec
cmp eax, ebx
jae case.0x446f7b.999
movzx ecx, byte [eax]
inc eax
cmp ecx, edx
je 0x446efe
cmp ecx, dword [esp + 0x34]
je 0x446efe
cmp eax, ebx
jb 0x446ea5
xor ebx, ebx
cmp dword [esp + 0x28], 0
je 0x446ece
mov edx, dword [esp + 0x54]
push edx
call dword [0x490674]
add esp, 4
test ebx, ebx
je 0x44713a
cmp ebx, 0xfffffff4
je 0x44713a
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
cmp eax, ebx
jae case.0x446f7b.999
movzx ecx, byte [eax]
inc eax
cmp ecx, edx
je 0x446efe
cmp eax, ebx
jb 0x446ef0
jmp case.0x446f7b.999
dec eax
cmp eax, ebx
jae case.0x446f7b.999
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0xa8]
push 0
push 0
push 0
push edx
lea eax, [esp + 0x58]
push eax
push 2
push ebp
push ecx
push ebp
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xe0], ebp
mov dword [esp + 0x6c], 0
call fcn.004392a5
add esp, 0x24
cmp dword [esp + 0xa0], 0
mov ebx, eax
je 0x446f62
cmp dword [esp + 0x24], 0
jne 0x446f62
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x24], edx
test ebx, ebx
jg case.default.0x446f7b
je case.0x446f7b.998
lea eax, [ebx + 0x3e7]
cmp eax, 3
ja case.default.0x446f7b
jmp dword [eax*4 + 0x447197]
mov edi, dword [esp + 0xb4]
jmp 0x446fae
cmp dword [esp + 0x14], 0
lea edi, [ebp + 1]
je 0x446fae
mov eax, dword [esp + 0x10]
cmp edi, eax
jae 0x446fae
mov edi, edi
mov cl, byte [edi]
and cl, 0xc0
cmp cl, 0x80
jne 0x446fae
inc edi
cmp edi, eax
jb 0x446f9f
mov ecx, dword [esp + 0x60]
xor ebx, ebx
cmp dword [esp + 0x30], ebx
je 0x44701c
test ecx, ecx
je 0x446fec
mov eax, dword [esp + 0xb0]
cmp ebp, eax
jae 0x44701c
mov edx, dword [esp + 0x14]
push edx
lea edx, [esp + 0x68]
push edx
push eax
push ecx
push ebp
call fcn.00431924
add esp, 0x14
test eax, eax
jne 0x446eb9
mov ecx, dword [esp + 0x60]
jmp 0x44701c
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0x64]
sub edx, eax
cmp ebp, edx
ja 0x44701c
mov dl, byte [esp + 0x74]
cmp byte [ebp], dl
jne 0x44701c
cmp eax, 1
je 0x446eb9
mov al, byte [esp + 0x75]
cmp byte [ebp + 1], al
je 0x446eb9
cmp dword [esp + 0xe8], 0
mov ebp, edi
jne 0x446eb9
mov eax, dword [esp + 0x10]
cmp edi, eax
ja 0x446eb9
cmp byte [edi - 1], 0xd
jne 0x446b8f
cmp edi, eax
jae 0x446b8f
cmp byte [edi], 0xa
jne 0x446b8f
test byte [esi + 0xc], 0x20
jne 0x446b8f
cmp ecx, 1
je 0x447075
mov eax, 2
cmp ecx, eax
je 0x447075
cmp dword [esp + 0x64], eax
jne 0x446b8f
lea ebp, [edi + 1]
jmp 0x446b8f
cmp ebx, 1
jne 0x446eb9
cmp dword [esp + 0x28], 0
mov esi, dword [esp + 0x15c]
je 0x4470de
cmp esi, 4
jl 0x4470bc
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x158]
lea ecx, [esi*4 - 8]
push ecx
add edx, 8
push edx
add eax, 8
push eax
call fcn.00410d20
add esp, 0xc
cmp dword [esp + 0xc4], esi
jle 0x4470d0
mov dword [esp + 0x80], 1
mov ecx, dword [esp + 0x54]
push ecx
call dword [0x490674]
add esp, 4
cmp dword [esp + 0x80], 0
je 0x4470ec
xor eax, eax
jmp 0x4470f8
mov eax, dword [esp + 0xc4]
cdq
sub eax, edx
sar eax, 1
cmp esi, 2
jge 0x44710a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0xb4]
mov edx, dword [esp + 0x158]
sub esi, ecx
mov dword [edx], esi
mov esi, dword [esp + 0xb8]
sub esi, ecx
mov dword [edx + 4], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
mov eax, dword [esp + 0x24]
test eax, eax
je 0x447177
cmp dword [esp + 0x15c], 1
jle 0x447167
mov edx, dword [esp + 0x148]
mov ecx, dword [esp + 0x158]
sub eax, edx
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
sub eax, edx
mov dword [ecx + 4], eax
mov eax, 0xfffffff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x130
ret