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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov dword [esp + 0x40], ecx
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x28], 0x100000
mov dword [esp + 0xc], 0
mov dword [esp + 0x50], 0x4a555457
mov dword [esp + 0x54], 0
mov word [esp + 0x58], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 9
ja 0x439752
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x50]
lea edx, [eax + 0x4d]
mov esi, ecx
not esi
or esi, edx
and edx, ecx
add edx, esi
neg edx
add eax, edx
add eax, 0x89ba434c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xe5
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x50], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0xa
jb 0x439710
mov eax, dword [esp + 0x50]
mov ecx, dword [0x449c88]
test ecx, ecx
je 0x4397ae
xor edx, edx
mov esi, dword [0x449c8c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x23b9d792
je 0x439780
inc edx
cmp ecx, edx
jne 0x439770
jmp 0x4397ae
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4397ae
lea eax, [esp + 0x28]
lea edx, [esp + 0xc]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x449c90]
push ecx
call fcn.0043a6a0
add esp, 0x24
test eax, eax
js 0x439e3a
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov eax, 0x10000
jmp 0x439813
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x50]
cmp eax, 0x7fffffff
jae 0x439d6c
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov dword [esp + 0x10], 0x4a555457
lea eax, [esp + 0x14]
mov word [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x439892
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x10]
lea esi, [eax + 0x4d]
mov edi, edx
not edi
or edi, esi
and esi, edx
add esi, edi
neg esi
add eax, esi
add eax, 0x89ba434c
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xe5
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x439850
mov eax, dword [esp + 0x10]
mov edx, dword [0x449c88]
test edx, edx
je 0x4398c2
xor esi, esi
mov edi, dword [0x449c8c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0xcceeb031
je 0x4399a0
inc esi
cmp edx, esi
jne 0x4398b0
mov edi, dword [esp + 0x34]
cmp eax, 0xbfffffff
ja 0x439d6c
test eax, eax
js 0x439800
cmp dword [esp + 0x60], 0x1000
jne 0x439800
cmp dword [esp + 0x64], 1
je 0x439800
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x5c], eax
jbe 0x439aea
mov dword [esp + 0x10], 0x4a555457
lea eax, [esp + 0x14]
mov word [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x439972
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x4d]
mov esi, ecx
not esi
or esi, edx
and edx, ecx
add edx, esi
neg edx
add eax, edx
add eax, 0x89ba434c
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xe5
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x439930
mov eax, dword [0x449c88]
test eax, eax
je 0x4399fd
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x449c8c]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x2cce4e79
je 0x4399d3
inc edx
cmp eax, edx
jne 0x439990
jmp 0x4399fd
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
mov edi, dword [esp + 0x34]
je 0x4398c6
push 0
push 0x1c
lea eax, [esp + 0x58]
push eax
push 0
push edi
push ecx
push 6
push dword [0x449c90]
push edx
call fcn.0043a6a0
add esp, 0x24
jmp 0x4398c6
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4399fd
push 0x8000
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x449c90]
push eax
call fcn.0043a6a0
add esp, 0x1c
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 0x4a555457
lea eax, [esp + 0x14]
mov word [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x439a82
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x4d]
mov esi, ecx
not esi
or esi, edx
and edx, ecx
add edx, esi
neg edx
add eax, edx
add eax, 0x89ba434c
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xe5
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x439a40
mov eax, dword [esp + 0x10]
mov ecx, dword [0x449c88]
test ecx, ecx
je 0x439ade
xor edx, edx
mov esi, dword [0x449c8c]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x23b9d792
je 0x439ab0
inc edx
cmp ecx, edx
jne 0x439aa0
jmp 0x439ade
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x439ade
push 4
push 0x3000
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 6
push dword [0x449c90]
push ecx
call fcn.0043a6a0
add esp, 0x24
test eax, eax
js 0x439d6c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 8]
push edx
push eax
push dword [esp + 0x14]
push edi
call fcn.00439530
cmp eax, 0xbfffffff
ja 0x439800
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.00439e50
add esp, 0x18
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
cmp ecx, eax
je 0x439800
mov eax, dword [ebx + 8]
mov dword [esp + 0x30], eax
mov edx, dword [ebx]
mov dword [esp + 0x24], edx
mov edi, dword [ebx + 4]
mov dword [esp + 0x6c], ecx
jmp 0x439baa
push dword [esp + 0x24]
call fcn.00408b30
add esp, 4
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
mov dword [ebx], ecx
mov edx, dword [esp + 0x78]
lea edi, [ecx + edx*4]
mov eax, dword [esp + 0x30]
lea eax, [ecx + eax*4]
mov dword [esp + 0x30], eax
mov dword [ebx + 8], eax
mov dword [esp + 0x24], ecx
mov eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + edx*4], esi
add edi, 4
mov dword [ebx + 4], edi
add ecx, 4
cmp ecx, dword [esp + 0x44]
je 0x439d48
mov dword [esp + 0x48], ecx
mov ecx, dword [ecx]
mov esi, dword [esp + 0xc]
mov edx, ecx
not edx
and edx, esi
not esi
and esi, ecx
sub esi, edx
add esi, dword [esp + 0x34]
mov eax, edi
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov edx, eax
sar edx, 2
cmp edi, dword [esp + 0x30]
jne 0x439b8e
mov dword [esp + 0x3c], eax
lea eax, [edx + 1]
mov ecx, edx
shr ecx, 1
mov dword [esp + 0x78], edx
add ecx, edx
cmp ecx, eax
ja 0x439bee
mov ecx, eax
mov dword [esp + 0x30], ecx
lea eax, [ecx*4]
push eax
call fcn.00408b20
add esp, 4
mov ecx, eax
mov edx, dword [esp + 0x24]
test edx, edx
je 0x439b73
cmp ecx, edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
jbe 0x439ce2
lea eax, [edx + ebx]
cmp eax, ecx
jbe 0x439ce2
test ebx, ebx
je 0x439b60
mov edx, dword [esp + 0x24]
lea eax, [edx + ebx]
dec eax
mov ecx, dword [esp + 0x2c]
add ecx, ebx
dec ecx
not edx
add edx, edi
and ebx, 7
je 0x439c78
mov dword [esp + 0x38], edx
neg ebx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax + edi]
mov byte [ecx + edi], dl
dec edi
cmp ebx, edi
jne 0x439c60
add eax, edi
add dword [esp + 0x3c], edi
add ecx, edi
mov edx, dword [esp + 0x38]
cmp edx, 7
mov edi, dword [esp + 0x3c]
jb 0x439b60
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
movzx ebx, byte [eax + edx - 1]
mov byte [ecx + edx - 1], bl
movzx ebx, byte [eax + edx - 2]
mov byte [ecx + edx - 2], bl
movzx ebx, byte [eax + edx - 3]
mov byte [ecx + edx - 3], bl
movzx ebx, byte [eax + edx - 4]
mov byte [ecx + edx - 4], bl
movzx ebx, byte [eax + edx - 5]
mov byte [ecx + edx - 5], bl
movzx ebx, byte [eax + edx - 6]
mov byte [ecx + edx - 6], bl
movzx ebx, byte [eax + edx - 7]
mov byte [ecx + edx - 7], bl
add edx, 0xfffffff8
cmp edi, edx
jne 0x439c90
jmp 0x439b60
mov ecx, ebx
shr ecx, 2
mov eax, edx
mov edi, dword [esp + 0x2c]
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
mov edx, ebx
and edx, 0xfffffffc
mov ecx, dword [esp + 0x2c]
lea edi, [ecx + edx]
add edx, eax
mov ecx, ebx
xor ecx, 0xfffffffc
mov eax, ebx
or eax, 3
and eax, ecx
mov ecx, eax
shr ecx, 1
mov dword [esp + 0x70], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x74], edi
mov edx, dword [esp + 0x38]
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
test bl, 1
je 0x439b60
and eax, 0xfffffffe
mov ecx, dword [esp + 0x70]
movzx ecx, byte [ecx + eax]
mov edx, dword [esp + 0x74]
mov byte [edx + eax], cl
jmp 0x439b60
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x439800
cmp eax, dword [esp + 0x44]
je 0x439800
push eax
call fcn.00408b30
add esp, 4
jmp 0x439800
mov dword [esp + 0x10], 0x4a555457
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 9
ja 0x439de2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x4d]
mov esi, ecx
not esi
or esi, edx
and edx, ecx
add edx, esi
neg edx
add eax, edx
add eax, 0x89ba434c
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xe5
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xa
jb 0x439da0
mov eax, dword [0x449c88]
test eax, eax
je 0x439e3a
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x449c8c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x2cce4e79
je 0x439e10
inc edx
cmp eax, edx
jne 0x439e00
jmp 0x439e3a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x439e3a
push 0x8000
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x449c90]
push eax
call fcn.0043a6a0
add esp, 0x1c
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10