Function at 0x438690
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push ebp
mov eax, 0x9a9c
push edi
push esi
push ebx
call fcn.0049d320
sub esp, eax
mov eax, dword [esp + 0x9ab0]
mov edx, dword [eax]
movzx ecx, byte [eax + 4]
mov dword [esp], 0x6000
lea esi, [eax + 5]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
bswap edx
shl edx, 8
or ecx, edx
mov ebp, ecx
call fcn.0042d7a0
mov dword [esp + 0x4c], eax
test eax, eax
je 0x43911d
xor eax, eax
lea esi, [esi]
nop
mov dword [esp + eax*4 + 0x190], eax
add eax, 1
cmp eax, 0x100
jne 0x4386e8
xor eax, eax
mov ecx, 0x500
lea edi, [esp + 0x1e90]
mov dword [esp + 0x60], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4a90]
mov dword [esp + 8], 0x5000
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 0x5c], 1
mov dword [esp + 0x68], 1
mov dword [esp + 0x64], 1
mov dword [esp + 0x6c], 4
mov dword [esp + 0x74], 0x400
mov dword [esp + 0x70], 0x400
mov dword [esp + 0x7c], 0x400
mov dword [esp + 0x78], 0x400
mov dword [esp + 0x84], 0x400
mov dword [esp + 0x80], 0x400
mov dword [esp + 0x8c], 0x400
mov dword [esp + 0x88], 0x400
call sub.msvcrt.dll_memset
lea edx, [esp + 0x1090]
lea ecx, [esp + 0x2090]
lea eax, [edx - 0x200]
mov dword [eax], 0x400
add eax, 4
cmp edx, eax
jne 0x4387b0
add edx, 0x200
cmp ecx, edx
jne 0x4387aa
lea eax, [esp + 0x90]
lea edx, [esp + 0x170]
mov dword [eax + 4], 0x400
add eax, 0x20
mov dword [eax - 0x20], 0x400
mov dword [eax - 0x14], 0x400
mov dword [eax - 0x18], 0x400
mov dword [eax - 0xc], 0x400
mov dword [eax - 0x10], 0x400
mov dword [eax - 4], 0x400
mov dword [eax - 8], 0x400
cmp edx, eax
jne 0x4387d5
lea edx, [esp + 0x32f0]
lea ecx, [esp + 0x4af0]
lea esi, [esi]
lea eax, [edx - 0x60]
lea esi, [esi]
nop
mov dword [eax], 0x400
add eax, 4
cmp edx, eax
jne 0x438830
add edx, 0x60
cmp ecx, edx
jne 0x438828
lea edx, [esp + 0x5f0]
lea ecx, [esp + 0xef0]
lea eax, [edx - 0x60]
lea esi, [esi]
mov dword [eax], 0x400
add eax, 4
cmp edx, eax
jne 0x438858
add edx, 0x60
cmp ecx, edx
jne 0x438852
mov eax, dword [esp + 0x4c]
lea edx, [eax + 0x60]
lea ecx, [eax + 0x6060]
lea esi, [esi]
lea eax, [edx - 0x60]
lea esi, [esi]
nop
add eax, 4
mov dword [eax - 4], 0x400
cmp eax, edx
jne 0x438888
lea edx, [eax + 0x60]
cmp edx, ecx
jne 0x438880
mov eax, dword [esp + 0x9ab4]
xor ebx, ebx
xor edx, edx
mov edi, 0xffffffff
mov dword [esp + 0x20], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], 4
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], ebx
lea esi, [esi]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], esi
lea eax, [eax + eax*4]
lea eax, [esp + eax*4 + 0x1e90]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
and eax, 3
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x34]
mov dword [esp + 0x48], eax
lea eax, [eax + eax*4]
add ecx, edx
xor edx, edx
lea eax, [esp + eax*4 + 0x4a90]
mov dword [esp + 0x14], eax
mov eax, edi
xor edi, edi
div ecx
xor edx, edx
mov esi, edi
mov dword [esp + 0x38], eax
mov eax, ebp
mov ebp, dword [esp + 0x20]
div dword [esp + 0x38]
mov dword [esp + 0x1c], eax
xor eax, eax
mov edx, dword [esp + 0x10]
lea edi, [esi + 1]
lea ecx, [edx + ebp]
add ecx, ebx
lea edx, [ecx + eax]
cmp dword [esp + 0x1c], edx
jb 0x438988
mov eax, dword [esp + edi*4 + 0x5c]
mov esi, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov ebp, dword [eax + edi*4]
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + edi*4]
mov eax, edx
jmp 0x438954
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x1c], esi
imul eax, edx
mov dword [esp + 0x34], edi
mov esi, dword [esp + 0x44]
imul ecx, edx
sub ebp, eax
cmp ecx, 0xffffff
ja 0x4389ca
movzx eax, byte [esi]
shl ebp, 8
shl ecx, 8
add esi, 1
or ebp, eax
cmp ecx, 0xffffff
jbe 0x4389b0
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
add ebx, 2
mov edi, dword [esp + 0x14]
add eax, 2
mov dword [esp + edx*4 + 0x5c], eax
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [edi + edx*4], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
mov dword [edi + edx*4], ebx
mov ebx, dword [esp + 0x14]
add eax, 2
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x6c], eax
add edx, 2
mov dword [ebx + 0x10], edx
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ebx
add ebx, 2
mov dword [edi + 0x10], ebx
cmp eax, 0x3a
jbe 0x438a65
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
add eax, 1
add edx, 1
shr eax, 1
shr edx, 1
mov edi, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x20], edx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x68]
add eax, 1
shr eax, 1
add edx, 1
mov dword [esp + 0x60], eax
add eax, edi
add eax, dword [esp + 0x20]
shr edx, 1
add eax, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
cmp ebx, 0x3e
jbe 0x438ab3
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
lea eax, [eax + eax*4]
shl eax, 2
mov ebx, dword [esp + eax + 0x1e90]
shr ebx, 1
mov dword [esp + eax + 0x1e90], ebx
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
shr eax, 1
mov dword [esp + 0x18], eax
shr edx, 1
mov dword [edi + 4], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 8], edx
add edx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
add edx, ebx
shr eax, 1
mov dword [edi + 0xc], eax
add eax, edx
mov dword [edi + 0x10], eax
cmp dword [esp + 0x10], 0xcc
jbe 0x438b06
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x14]
lea eax, [eax + eax*4]
shl eax, 2
mov ebx, dword [esp + eax + 0x4a90]
shr ebx, 1
mov dword [esp + eax + 0x4a90], ebx
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
shr edx, 1
mov dword [esp + 0x10], edx
shr eax, 1
mov dword [edi + 8], edx
mov edx, dword [edi + 0xc]
mov dword [edi + 4], eax
add eax, dword [esp + 0x10]
mov dword [esp + 0x14], edx
add eax, ebx
shr edx, 1
add eax, edx
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], eax
cmp dword [esp + 0x1c], 3
je 0x438e5c
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + eax*4 + 0x190]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
shl eax, 2
mov dword [esp + 8], eax
lea eax, [esp + 0x190]
mov dword [esp + 4], eax
lea eax, [esp + 0x194]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov eax, dword [esp + 0x24]
and ebx, 0xfc
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x190], eax
jne 0x439130
mov eax, dword [esp + 0x1c]
shl eax, 4
mov edx, dword [esp + 0x2c]
add eax, dword [esp + 0x28]
shr ecx, 0xb
mov dword [esp + 0x10], 0
lea eax, [eax + eax*2]
mov dword [esp + 0x20], ecx
shl edx, 2
or edx, dword [esp + 0x1c]
shl eax, 5
movzx ebx, dl
mov dword [esp + 0x2c], ebx
lea ebx, [esp + eax + 0x3290]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x24]
lea edx, [ebx + ebx*2]
mov ebx, dword [esp + eax + 0x3290]
mov eax, ebp
shl edx, 5
add edx, dword [esp + 0x4c]
mov ecx, dword [edx]
mov dword [esp + 0x14], edx
xor edx, edx
div dword [esp + 0x20]
lea edi, [ecx + ebx]
shr edi, 1
cmp eax, edi
jb 0x439091
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
lea esi, [esi]
mov eax, edi
imul eax, ecx
sub ebp, eax
mov eax, 0x800
sub eax, edi
imul ecx, eax
cmp ecx, 0xffffff
ja 0x438c16
lea esi, [esi]
movzx eax, byte [esi]
shl ebp, 8
shl ecx, 8
add esi, 1
or ebp, eax
cmp ecx, 0xffffff
jbe 0x438c00
mov eax, ebx
mov edi, dword [esp + 0x18]
shr ecx, 0xb
add dword [esp + 0x10], 1
shr eax, 6
sub ebx, eax
mov dword [edi], ebx
mov ebx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 3
sub ebx, eax
mov eax, edi
mov edx, ebx
mov ebx, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x18], eax
mov dword [ebx], edx
add ebx, 4
xor edx, edx
mov edi, ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [eax]
mov eax, dword [edi]
lea edi, [ebx + eax]
mov dword [esp + 0x1c], eax
mov eax, ebp
div ecx
shr edi, 1
cmp eax, edi
jae 0x438be0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
lea eax, [eax + eax*2]
shl eax, 5
lea eax, [esp + eax + 0x590]
mov dword [esp + 0x1c], eax
imul edi, dword [esp + 0x20]
cmp edi, 0xffffff
ja 0x438cae
lea esi, [esi]
movzx eax, byte [esi]
shl ebp, 8
shl edi, 8
add esi, 1
or ebp, eax
cmp edi, 0xffffff
jbe 0x438c98
mov eax, 0x800
mov edx, eax
sub eax, ecx
sub edx, ebx
shr eax, 3
shr edx, 6
add eax, ecx
add ebx, edx
mov edx, dword [esp + 0x18]
mov dword [edx], ebx
mov ebx, dword [esp + 0x14]
mov dword [ebx], eax
mov eax, dword [esp + 0x28]
add eax, eax
cmp dword [esp + 0x10], 1
jbe 0x438e3c
and eax, 0xe
or eax, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0
xor ebx, ebx
lea esi, [esi]
mov eax, dword [esp + 0x1c]
mov edx, edi
shr edx, 0xb
mov ecx, dword [eax + ebx*4]
mov dword [esp + 0x14], edx
mov eax, 0x800
mov edi, edx
xor edx, edx
sub eax, ecx
imul edi, ecx
mov dword [esp + 0x18], eax
mov eax, ebp
div dword [esp + 0x14]
cmp eax, ecx
jb 0x438e0e
sub ebp, edi
mov edi, dword [esp + 0x14]
imul edi, dword [esp + 0x18]
cmp edi, 0xffffff
ja 0x438d56
lea esi, [esi]
nop
movzx eax, byte [esi]
shl ebp, 8
shl edi, 8
add esi, 1
or ebp, eax
cmp edi, 0xffffff
jbe 0x438d40
mov eax, ecx
shr eax, 6
sub ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + ebx*4], ecx
mov eax, dword [esp + 0x20]
add ebx, 1
lea eax, [eax + eax + 1]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x10], ebx
ja 0x438cf8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
add ebx, dword [eax*4 + 0x57c720]
je 0x438dab
movzx eax, byte [esp + 0x24]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sub.msvcrt.dll_memset
add dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
and eax, 3
lea eax, [eax + ebx*4]
mov ebx, dword [esp + 0x5c]
lea eax, [eax + eax*4]
lea ecx, [esp + eax*4 + 0x4a90]
mov dword [esp + 0x10], ebx
mov eax, dword [ecx + 0x10]
mov ebx, dword [ecx]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], ebx
lea eax, [eax + eax*4]
lea eax, [esp + eax*4 + 0x1e90]
mov edx, dword [eax + 0x10]
mov ebx, dword [eax]
jmp 0x4388f0
movzx eax, byte [esi]
shl ebp, 8
add esi, 1
shl edi, 8
or ebp, eax
cmp edi, 0xffffff
jbe 0x438e00
mov eax, dword [esp + 0x18]
shl dword [esp + 0x20], 1
shr eax, 6
add ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + ebx*4], ecx
add ebx, 1
cmp dword [esp + 0x10], ebx
ja 0x438cf8
jmp 0x438d7d
and eax, 0xf
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x438cea
jmp 0x438d7d
mov eax, dword [esp + 0x30]
lea ebx, [esp + 0x90]
mov dword [esp + 0x30], 0
lea edi, [esp + 0x70]
shl eax, 5
add eax, ebx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov ebx, dword [edi]
mov eax, ecx
shr eax, 0xb
mov edx, dword [edx]
mov dword [esp + 0x20], ebx
mov ecx, eax
add ebx, edx
mov dword [esp + 0x18], edx
mov edx, eax
mov eax, ebp
mov dword [esp + 0x14], edx
xor edx, edx
shr ebx, 1
imul ecx, ebx
div dword [esp + 0x14]
cmp eax, ebx
jb 0x4390a1
sub ebp, ecx
mov ecx, 0x800
sub ecx, ebx
imul ecx, dword [esp + 0x14]
cmp ecx, 0xffffff
ja 0x438ee6
lea esi, [esi]
lea esi, [esi]
movzx eax, byte [esi]
shl ebp, 8
shl ecx, 8
add esi, 1
or ebp, eax
cmp ecx, 0xffffff
jbe 0x438ed0
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
add edi, 4
add dword [esp + 0x30], 1
mov edx, eax
add ebx, 4
shr edx, 4
sub eax, edx
mov dword [edi - 4], eax
mov eax, dword [esp + 0x18]
mov edx, eax
shr edx, 6
sub eax, edx
mov dword [ebx - 4], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x10], ebx
cmp edi, eax
jne 0x438e7c
mov dword [esp + 0x38], 0xc00
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], 6
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 1
add eax, 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x34], eax
lea esi, [esi]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov edx, ecx
shr edx, 0xb
lea eax, [eax + ebx*4]
lea ebx, [esp + 0xe90]
mov dword [esp + 0x18], edx
mov ecx, edx
lea edi, [ebx + eax]
mov eax, 0x800
xor edx, edx
mov ebx, dword [edi]
sub eax, ebx
imul ecx, ebx
mov dword [esp + 0x24], eax
mov eax, ebp
div dword [esp + 0x18]
cmp eax, ebx
jb 0x43905e
sub ebp, ecx
mov ecx, dword [esp + 0x18]
imul ecx, dword [esp + 0x24]
cmp ecx, 0xffffff
ja 0x438fce
lea esi, [esi]
nop
movzx eax, byte [esi]
shl ebp, 8
shl ecx, 8
add esi, 1
or ebp, eax
cmp ecx, 0xffffff
jbe 0x438fb8
mov eax, ebx
add dword [esp + 0x10], 1
shr eax, 7
sub ebx, eax
mov eax, dword [esp + 0x14]
mov dword [edi], ebx
lea eax, [eax + eax + 1]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
lea eax, [eax + eax + 1]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x34], eax
jne 0x438f60
cmp dword [esp + 0x20], 0x7f
jne 0x439014
cmp byte [esp + 0x40], 0
jne 0x4390fb
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x20]
mov eax, dword [eax*4 + 0x57c780]
lea eax, [ebx + eax + 1]
movzx ebx, al
mov eax, dword [esp + ebx*4 + 0x190]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], eax
test ebx, ebx
jne 0x439124
mov eax, 0x30
jmp 0x438b6f
movzx eax, byte [esi]
shl ebp, 8
add esi, 1
shl ecx, 8
or ebp, eax
cmp ecx, 0xffffff
jbe 0x439050
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], 1
shl dword [esp + 0x14], 1
shr eax, 7
shl dword [esp + 0x20], 1
add ebx, eax
mov eax, dword [esp + 0x10]
mov dword [edi], ebx
cmp dword [esp + 0x34], eax
jne 0x438f60
jmp 0x439002
lea eax, [esp + 0x590]
mov dword [esp + 0x1c], eax
jmp 0x438c88
mov ebx, edi
mov edi, dword [esp + 0x20]
cmp ecx, 0xffffff
ja 0x4390c5
movzx eax, byte [esi]
shl ebp, 8
shl ecx, 8
add esi, 1
or ebp, eax
cmp ecx, 0xffffff
jbe 0x4390af
mov eax, 0x800
mov byte [esp + 0x40], 0
mov edx, eax
sub edx, edi
shr edx, 4
add edi, edx
mov dword [ebx], edi
mov ebx, dword [esp + 0x18]
sub eax, ebx
shr eax, 6
add eax, ebx
mov ebx, dword [esp + 0x10]
mov dword [ebx], eax
mov eax, dword [esp + 0x30]
shl eax, 9
mov dword [esp + 0x38], eax
jmp 0x438f39
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0042d920
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x9ab4]
add esp, 0x9a9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xffffffff
jmp 0x439112
lea ebx, [ebx - 1]
mov dword [esp + 0x1c], ebx
jmp 0x438b24
mov dword [esp + 0x1c], 3
mov eax, 0x30
jmp 0x438b6f