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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x10], 0
test dword [esi + 8], 0x80000
je 0x44181e
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
mov dword [ebp - 0xc], 1
cmp eax, dword [esi + 0x24]
jbe 0x441825
mov dword [ebp - 0xc], 0
cmp dword [esi], 0
jne 0x441845
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x441845
mov eax, dword [esi + 0x74]
add eax, ecx
jmp 0x44184b
lea eax, [esi + 0x39272]
mov cl, byte [esi + 0x38]
lea edx, [esi + 0x34]
mov dword [esi + 0x30], eax
lea edi, [esi + 0x30]
mov dword [ebp - 0x14], eax
add eax, 0x14cbc
mov dword [edx], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [ebp + 8], edx
shr byte [eax], cl
xor eax, eax
cmp dword [esi + 0x38], 8
sete al
sub dword [esi + 0x28], eax
test dword [esi + 8], 0x1000
je 0x44191a
cmp dword [esi + 0x64], 0
lea edx, [esi + 0x34]
mov dword [ebp + 8], edx
lea edi, [esi + 0x30]
jne 0x44191a
mov ecx, dword [esi + 0x44]
mov edx, 0x78
shl edx, cl
or edx, dword [esi + 0x48]
mov dword [esi + 0x48], edx
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
lea ecx, [esi + 0x34]
cmp eax, 8
jb 0x4418e3
lea ecx, [ecx]
mov eax, dword [esi + 0x30]
cmp eax, dword [ecx]
jae 0x4418cc
mov byte [eax], dl
inc dword [esi + 0x30]
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add eax, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x4418c0
bts edx, eax
add eax, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x441911
mov eax, dword [esi + 0x30]
cmp eax, dword [ecx]
jae 0x441900
mov byte [eax], dl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov dl, byte [esi + 0x48]
jae 0x4418f4
lea edx, [esi + 0x34]
mov dword [ebp + 8], edx
lea edi, [esi + 0x30]
mov ecx, dword [esi + 0x44]
xor ebx, ebx
cmp dword [ebp + 0xc], 4
sete bl
shl ebx, cl
lea eax, [ecx + 1]
or ebx, dword [esi + 0x48]
mov dword [esi + 0x48], ebx
mov dword [ebp - 8], eax
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x441969
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0xc], 0
mov eax, dword [edi]
mov dword [ebp - 4], eax
jne 0x4419d6
test dword [esi + 8], 0x40000
lea eax, [esi + 0x3c]
jne 0x44199b
cmp dword [eax], 0x30
mov dword [ebp + 8], eax
jb 0x44199b
xor ecx, ecx
jmp 0x4419a3
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
cmp eax, dword [edx]
jae 0x441973
mov byte [eax], bl
inc dword [edi]
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add eax, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [ebp - 8], eax
mov dword [esi + 0x44], eax
mov byte [ebp + 8], bl
cmp eax, 8
jae 0x441966
lea ecx, [esi + 0x34]
lea edi, [esi + 0x30]
mov dword [ebp + 8], ecx
jmp 0x44193f
mov ecx, 1
mov dword [ebp + 8], eax
push ecx
push esi
call fcn.00440510
mov ecx, dword [edi]
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
test edx, edx
je 0x441b34
sub ecx, eax
inc ecx
cmp ecx, edx
jb 0x441b34
lea ecx, [esi + 0x34]
lea edi, [esi + 0x30]
mov dword [ebp + 8], ecx
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
mov eax, dword [ebp - 4]
ja 0x441b34
mov edx, dword [ebp - 8]
add edx, 2
mov dword [edi], eax
mov dword [esi + 0x48], ebx
mov dword [ebp - 4], edx
mov dword [esi + 0x44], edx
cmp edx, 8
jb 0x441a34
mov edi, edi
mov edx, eax
cmp eax, dword [ecx]
jae 0x441a0c
mov byte [eax], bl
inc dword [edi]
mov edx, dword [edi]
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add eax, 0xfffffff8
mov dword [ebp - 4], eax
shr ebx, 8
cmp dword [ebp - 4], 8
mov dword [esi + 0x44], eax
mov eax, edx
mov dword [esi + 0x48], ebx
jae 0x441a00
lea eax, [esi + 0x34]
mov dword [ebp + 8], eax
lea edi, [esi + 0x30]
jmp 0x441a39
mov edx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x441a7d
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], 8
lea ebx, [ebx]
cmp edx, dword [eax]
jae 0x441a5a
mov byte [edx], bl
inc dword [edi]
mov edx, dword [edi]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
mov eax, dword [ebp + 8]
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x441a50
lea eax, [esi + 0x34]
mov dword [ebp + 8], eax
lea edi, [esi + 0x30]
mov dword [ebp - 0xc], 2
movzx eax, word [esi + 0x3c]
shl eax, cl
add ecx, 0x10
or eax, ebx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], eax
mov ebx, eax
mov edx, ecx
cmp ecx, 8
jb 0x441ac6
mov edi, edi
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
cmp eax, dword [ecx]
jae 0x441aad
mov byte [eax], bl
inc dword [edi]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr ebx, 8
mov edx, ecx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x441aa0
mov eax, dword [ebp - 0xc]
xor dword [esi + 0x3c], 0xffff
dec eax
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x441a84
xor edi, edi
cmp dword [esi + 0x3c], edi
jbe 0x441b51
nop
mov eax, dword [esi + 0x40]
mov ecx, edx
add eax, edi
add edx, 8
and eax, 0x7fff
movzx eax, byte [eax + esi + 0x90]
shl eax, cl
or eax, ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x48], eax
mov ebx, eax
cmp edx, 8
jb 0x441b2c
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x441b15
mov byte [eax], bl
inc dword [esi + 0x30]
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add edx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], edx
cmp edx, 8
jae 0x441b08
inc edi
cmp edi, dword [esi + 0x3c]
jb 0x441ae0
jmp 0x441b51
cmp dword [ebp - 0x10], 0
jne 0x441b51
mov edx, dword [ebp - 8]
push 1
push esi
mov dword [esi + 0x30], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], edx
call fcn.00440510
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x441cbe
mov ecx, dword [esi + 0x44]
cmp eax, 4
jne 0x441bff
test ecx, ecx
je 0x441ba2
mov edx, dword [esi + 0x48]
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], 8
lea esp, [esp]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x441b8d
mov byte [eax], dl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
shr dword [esi + 0x48], 8
add ecx, 0xfffffff8
mov dl, byte [esi + 0x48]
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x441b80
test dword [esi + 8], 0x1000
je 0x441cbe
mov edx, dword [esi + 0x18]
mov edi, 4
mov eax, edx
shr eax, 0x18
shl eax, cl
add ecx, 8
or eax, dword [esi + 0x48]
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x441bf2
nop
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x441bdd
mov byte [ecx], al
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
shr dword [esi + 0x48], 8
add ecx, 0xfffffff8
mov al, byte [esi + 0x48]
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x441bd0
shl edx, 8
sub edi, 1
jne 0x441bb7
jmp 0x441cbe
mov edx, dword [esi + 0x48]
add ecx, 3
xor ebx, ebx
mov dword [esi + 0x48], edx
mov dword [ebp + 0xc], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x441c39
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x441c22
mov byte [eax], dl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x441c15
test ecx, ecx
je 0x441c6b
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x441c54
mov byte [eax], dl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x441c47
mov edi, 2
movzx ebx, bx
shl ebx, cl
add ecx, 0x10
or ebx, edx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ebx
mov edx, ebx
cmp ecx, 8
jb 0x441cad
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x441c94
mov byte [eax], bl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov bl, dl
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x441c87
mov ebx, dword [ebp + 0xc]
xor ebx, 0xffff
mov dword [ebp + 0xc], ebx
sub edi, 1
jne 0x441c70
push 0x240
lea eax, [esi + 0x8192]
push 0
push eax
call fcn.004fc310
push 0x40
lea eax, [esi + 0x83d2]
push 0
push eax
call fcn.004fc310
mov edi, dword [esi + 0x30]
lea eax, [esi + 0x9273]
inc dword [esi + 0x64]
add esp, 0x18
mov dword [esi + 0x28], eax
lea eax, [esi + 0x9272]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x3c]
add dword [esi + 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x38], 8
mov dword [esi + 0x3c], 0
sub edi, eax
je 0x441da0
cmp dword [esi], 0
je 0x441d55
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x70]
mov dword [eax], ecx
lea eax, [esi + 0x39272]
push dword [esi + 4]
mov ecx, dword [esi]
push edi
push eax
call ecx
add esp, 0xc
test eax, eax
jne 0x441da0
pop edi
mov dword [esi + 0x6c], 0xffffffff
or eax, 0xffffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esi + 0x39272]
cmp eax, edx
jne 0x441d9a
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov ebx, dword [eax]
mov eax, dword [esi + 0x74]
sub ebx, ecx
cmp edi, ebx
cmovb ebx, edi
add eax, ecx
push ebx
push edx
push eax
call fcn.004fbbd0
add dword [esi + 0x8c], ebx
add esp, 0xc
sub edi, ebx
je 0x441da0
mov dword [esi + 0x5c], edi
mov eax, edi
pop edi
mov dword [esi + 0x58], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add dword [esi + 0x8c], edi
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret