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

Disassembly:
sub esp, 0x8c
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x228]
test eax, eax
mov dword [esp + 0x30], ebp
jne 0x44a8b0
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.0045dac0
pop ebp
add esp, 0x8c
ret 0x18
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x228]
test edx, edx
jne 0x44a8c6
mov eax, dword [ecx + 0x78]
jmp 0x44a8cc
mov eax, dword [ecx + 0x1c0]
test edx, edx
push esi
jne 0x44a8d6
mov esi, dword [ecx + 0x7c]
jmp 0x44a8dc
mov esi, dword [ecx + 0x1bc]
mov ecx, dword [esp + 0xa0]
shl eax, 0x10
xor edx, edx
div ecx
push ebx
push edi
xor edx, edx
mov ebx, dword [ebp + 0x1c0]
mov dword [esp + 0x54], ebx
mov ebx, dword [ebp + 0x1bc]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x94], ecx
mov ecx, ebp
mov dword [esp + 0x58], ebx
mov edi, eax
mov eax, esi
mov esi, dword [esp + 0xac]
shl eax, 0x10
div esi
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x50], edx
mov dword [esp + 0x80], edx
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x50], eax
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
call fcn.004470d0
test eax, eax
jne 0x44a994
pop edi
pop ebx
pop esi
mov eax, 3
pop ebp
add esp, 0x8c
ret 0x18
mov esi, dword [esp + 0x6c]
imul esi, edi
mov edi, dword [esp + 0x70]
imul edi, dword [esp + 0x30]
mov ecx, ebp
mov dword [esp + 0x34], esi
call fcn.004475d0
mov ecx, dword [esp + 0xb0]
mov ebx, eax
call fcn.004475d0
test ebx, ebx
mov dword [esp + 0x40], eax
jne 0x44a9d7
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
add esp, 0x8c
ret 0x18
test eax, eax
jne 0x44a9ed
pop edi
pop ebx
pop esi
mov eax, 2
pop ebp
add esp, 0x8c
ret 0x18
mov eax, dword [ebp + 0x228]
cmp eax, 0x378
ja 0x44adeb
je 0x44ac7f
sub eax, 0x22b
je 0x44ab50
sub eax, 0xa
jne 0x44af29
mov ecx, ebp
call fcn.00442b40
mov ecx, dword [esp + 0xb0]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call fcn.00442b40
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x68]
mov edx, esi
imul edx, eax
lea ebx, [ebx + edx*2]
mov edx, dword [esp + 0x78]
add edx, eax
sar ecx, 1
cmp eax, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], edx
jge 0x44af29
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
lea ebp, [eax + edx]
lea eax, [esi + esi]
mov esi, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], esi
jmp 0x44aa81
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov edx, esi
shr edx, 0x10
imul edx, ecx
lea ecx, [eax + edx*2]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xb4]
push edx
call fcn.00446dd0
mov edi, dword [esp + 0x64]
cmp edi, ebp
mov dword [esp + 0x1c], eax
jge 0x44ab22
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
cmp byte [edi + ecx], 0xff
je 0x44ab13
mov esi, dword [esp + 0x24]
movzx edx, word [ebx + edi*2]
mov ecx, eax
shr ecx, 0x10
movzx esi, word [esi + ecx*2]
mov ecx, esi
xor ecx, edx
shr ecx, 1
and ecx, 0x7bef
mov ebp, esi
and ebp, edx
add ecx, ebp
mov ebp, dword [esp + 0x20]
shr ecx, 4
and ecx, 0x841
add ecx, 0x801
shr ecx, 1
and ecx, 0x821
add ecx, 0x7bef
xor ecx, 0x7bef
sub edx, ecx
add edx, esi
or edx, ecx
mov word [ebx + edi*2], dx
mov edx, dword [esp + 0x38]
inc edi
add eax, edx
cmp edi, ebp
jl 0x44aab5
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
inc eax
add esi, edi
add ebx, edx
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
jl 0x44aa7d
mov ebp, dword [esp + 0x3c]
jmp 0x44af29
mov ecx, ebp
call fcn.00442b40
mov ecx, dword [esp + 0xb0]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
call fcn.00442b40
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
mov ecx, eax
mov eax, dword [esp + 0x68]
add edx, eax
sar ecx, 1
cmp eax, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], edx
jge 0x44af29
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x64]
add ebp, edx
lea edx, [esi + esi]
imul esi, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], edx
lea ebx, [ebx + esi*2]
jmp 0x44abb4
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
shr eax, 0x10
imul eax, ecx
mov ecx, dword [esp + 0x40]
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xb4]
push eax
mov dword [esp + 0x20], edx
call fcn.00446dd0
mov edi, dword [esp + 0x64]
cmp edi, ebp
mov dword [esp + 0x18], eax
jge 0x44ac4d
mov eax, dword [esp + 0x34]
lea ebx, [ebx]
mov ecx, dword [esp + 0x18]
cmp byte [edi + ecx], 0xff
je 0x44ac42
mov ecx, dword [esp + 0x1c]
xor esi, esi
mov si, word [ebx + edi*2]
mov edx, eax
shr edx, 0x10
movzx ecx, word [ecx + edx*2]
mov ebp, ecx
mov edx, ecx
and edx, esi
xor ebp, esi
and ebp, 0x7bde
lea edx, [ebp + edx*2]
mov ebp, dword [esp + 0x24]
shr edx, 5
and edx, 0x421
add edx, 0x3def
xor edx, 0x3def
sub ecx, edx
add ecx, esi
or ecx, edx
mov word [ebx + edi*2], cx
mov edx, dword [esp + 0x38]
inc edi
add eax, edx
cmp edi, ebp
jl 0x44abf0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x2c]
inc eax
add ebx, esi
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x44abb0
mov ebp, dword [esp + 0x3c]
jmp 0x44af29
mov ecx, ebp
call fcn.00442b40
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x1c], eax
call fcn.00442b40
mov edx, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
lea ecx, [edx + eax]
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], ecx
jge 0x44af29
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
add ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
imul ecx, eax
add ecx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
shr edi, 0x10
imul edi, dword [esp + 0x28]
add edi, eax
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 8]
test eax, eax
je 0x44ad01
mov ebx, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x2c], eax
jmp 0x44ad09
mov dword [esp + 0x2c], 0
cmp edx, dword [esp + 0x24]
mov eax, edx
mov dword [esp + 0x20], eax
jge 0x44adb9
mov ebp, esi
lea esi, [ecx + edx*2]
lea edx, [edx + esi + 2]
mov esi, dword [esp + 0x2c]
cmp byte [eax + esi], 0xff
je 0x44ad93
movzx eax, byte [edx - 2]
mov ecx, ebp
shr ecx, 0x10
lea esi, [ecx + ecx*2]
movzx ecx, byte [esi + edi]
movzx ebx, byte [esi + edi + 1]
add ecx, eax
movzx eax, byte [edx - 1]
add ebx, eax
movzx eax, byte [esi + edi + 2]
movzx esi, byte [edx]
add eax, esi
cmp ecx, 0xff
mov dword [esp + 0x44], ebx
jl 0x44ad64
mov ecx, 0xff
cmp ebx, 0xff
jl 0x44ad73
mov ebx, 0xff
jmp 0x44ad77
mov bl, byte [esp + 0x44]
cmp eax, 0xff
jl 0x44ad83
mov eax, 0xff
mov byte [edx - 2], cl
mov ecx, dword [esp + 0x18]
mov byte [edx], al
mov eax, dword [esp + 0x20]
mov byte [edx - 1], bl
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
inc eax
add edx, 3
add ebp, ebx
cmp eax, esi
mov dword [esp + 0x20], eax
jl 0x44ad22
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add ecx, edi
mov edi, dword [esp + 0x30]
add ebx, edi
mov edi, dword [esp + 0x48]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
jl 0x44acd4
jmp 0x44af29
cmp eax, 0x22b8
jne 0x44af29
mov ecx, ebp
call fcn.00442b40
mov ecx, dword [esp + 0xb0]
cdq
and edx, 3
add eax, edx
mov esi, eax
sar esi, 2
call fcn.00442b40
mov ecx, dword [esp + 0x78]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
add ecx, eax
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
jge 0x44af29
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x64]
add ecx, edx
mov edx, edi
lea edi, [esi*4]
imul esi, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], edi
lea ebx, [ebx + esi*4]
mov esi, dword [esp + 0x40]
mov eax, edx
shr eax, 0x10
imul eax, dword [esp + 0x48]
lea eax, [esi + eax*4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 8]
test eax, eax
je 0x44ae90
mov esi, dword [esp + 0x10]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x18], eax
jmp 0x44ae98
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x64]
cmp edi, ecx
jge 0x44af04
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
cmp byte [edi + edx], 0xff
je 0x44aef5
mov edx, dword [esp + 0x44]
mov esi, dword [ebx + edi*4]
mov ecx, eax
shr ecx, 0x10
mov edx, dword [edx + ecx*4]
mov ecx, edx
xor ecx, esi
shr ecx, 1
and ecx, 0x7f7f7f7f
mov ebp, edx
and ebp, esi
add ecx, ebp
mov ebp, dword [esp + 0x3c]
shr ecx, 7
and ecx, 0x1010101
add ecx, 0x7f7f7f7f
xor ecx, 0x7f7f7f7f
sub edx, ecx
add edx, esi
or edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [ebx + edi*4], edx
mov esi, dword [esp + 0x38]
inc edi
add eax, esi
cmp edi, ecx
jl 0x44aea4
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
add ebx, esi
mov esi, dword [esp + 0x20]
inc eax
add edx, edi
cmp eax, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
jl 0x44ae60
mov eax, dword [ebp + 0x228]
test eax, eax
mov esi, 0x4000
jne 0x44af41
mov ecx, ebp
call fcn.00444d90
jmp 0x44af5b
cmp dword [ebp + 0x1ac], esi
jne 0x44af5b
mov ebp, dword [ebp + 0x18c]
mov eax, dword [ebp]
push 0
push ebp
call dword [eax + 0x80]
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + 0x228]
test eax, eax
jne 0x44af80
call fcn.00444d90
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x8c
ret 0x18
cmp dword [ecx + 0x1ac], esi
jne 0x44af99
mov eax, dword [ecx + 0x18c]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x80]
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x8c
ret 0x18