Function at 0x100d49c0
Capabilities:
Check for software breakpoints

Disassembly:
sub esp, 0x54
mov eax, dword [0x1020f0c0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
mov ebp, ecx
mov byte [esp + 0x2c], 0xe8
push esi
xor ch, ch
mov dword [esp + 0x31], 0
xor al, al
mov byte [esp + 0x18], 0xe9
push edi
xor edi, edi
mov dword [esp + 0x1d], 0
mov word [esp + 0x2c], 0x800f
mov dword [esp + 0x2e], 0
mov byte [esp + 0x12], ch
mov byte [esp + 0x13], al
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], edi
nop dword [eax]
movzx esi, ch
lea edx, [esp + 0x44]
add esi, dword [ebp]
movzx ecx, al
mov eax, dword [ebp + 8]
add eax, ecx
mov dword [esp + 0x40], ecx
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.100d3940
test dword [esp + 0x5c], 0x1000
mov ebx, eax
mov dword [esp + 0x24], ebx
jne 0x100d4d32
cmp byte [esp + 0x12], 5
mov ecx, esi
mov dword [esp + 0x3c], ecx
jb 0x100d4a85
mov eax, esi
mov dword [esp + 0x14], 1
sub eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
sub eax, 5
mov ebx, 5
mov dword [esp + 0x1d], eax
jmp 0x100d4bc7
mov dl, byte [esp + 0x4a]
cmp dl, 0xe8
jne 0x100d4ab2
movzx eax, byte [esp + 0x44]
lea ecx, [esp + 0x34]
sub eax, dword [esp + 0x18]
mov ebx, 5
add eax, 0xfffffffb
add eax, dword [esp + 0x54]
add eax, esi
mov dword [esp + 0x35], eax
jmp 0x100d4bc7
mov al, dl
and al, 0xfd
cmp al, 0xe9
jne 0x100d4b17
movzx ecx, byte [esp + 0x44]
add ecx, esi
cmp dl, 0xeb
jne 0x100d4acf
movsx eax, byte [esp + 0x54]
add ecx, eax
jmp 0x100d4ad3
add ecx, dword [esp + 0x54]
mov eax, dword [ebp]
cmp eax, ecx
ja 0x100d4af5
add eax, 5
cmp ecx, eax
jae 0x100d4af5
cmp edi, ecx
cmovae ecx, edi
mov edi, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], edi
jmp 0x100d4bc7
sub ecx, dword [esp + 0x18]
mov ebx, 5
sub ecx, 5
cmp esi, edi
mov dword [esp + 0x1d], ecx
lea ecx, [esp + 0x1c]
sbb edx, edx
inc edx
mov dword [esp + 0x14], edx
jmp 0x100d4bc7
mov dh, byte [esp + 0x4b]
mov bl, dl
and bl, 0xf0
cmp bl, 0x70
je 0x100d4b50
mov al, dl
and al, 0xfc
cmp al, 0xe0
je 0x100d4b50
mov al, dh
and al, 0xf0
cmp al, 0x80
je 0x100d4b50
mov ebx, dword [esp + 0x24]
and dl, 0xfe
cmp dl, 0xc2
jne 0x100d4bc7
cmp esi, edi
sbb edx, edx
inc edx
mov dword [esp + 0x14], edx
jmp 0x100d4bc7
movzx ecx, byte [esp + 0x44]
add ecx, esi
cmp bl, 0x70
je 0x100d4b6a
mov al, dl
and al, 0xfc
cmp al, 0xe0
je 0x100d4b6a
add ecx, dword [esp + 0x54]
jmp 0x100d4b71
movsx eax, byte [esp + 0x54]
add ecx, eax
mov eax, dword [ebp]
cmp eax, ecx
ja 0x100d4b94
add eax, 5
cmp ecx, eax
jae 0x100d4b94
mov ebx, dword [esp + 0x24]
cmp edi, ecx
cmovae ecx, edi
mov edi, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], edi
jmp 0x100d4bc7
mov al, dl
and al, 0xfc
cmp al, 0xe0
je 0x100d4d32
movzx eax, dl
cmp dl, 0xf
jne 0x100d4bab
movzx eax, dh
sub ecx, dword [esp + 0x18]
and al, 0xf
or al, 0x80
mov ebx, 6
sub ecx, 6
mov byte [esp + 0x2d], al
mov dword [esp + 0x2e], ecx
lea ecx, [esp + 0x2c]
cmp esi, edi
jae 0x100d4bd8
movzx eax, byte [esp + 0x44]
cmp ebx, eax
jne 0x100d4d32
mov esi, dword [esp + 0x40]
lea eax, [esi + ebx]
cmp eax, 0x20
ja 0x100d4d32
mov eax, dword [ebp + 0x10]
cmp eax, 8
jae 0x100d4d32
mov dl, byte [esp + 0x12]
mov byte [eax + ebp + 0x14], dl
mov eax, dword [ebp + 0x10]
mov dl, byte [esp + 0x13]
mov byte [eax + ebp + 0x1c], dl
mov al, dl
mov edi, dword [ebp + 8]
add al, bl
inc dword [ebp + 0x10]
add edi, esi
mov esi, ecx
mov byte [esp + 0x13], al
mov ecx, ebx
rep movsb byte es:[edi], byte [esi]
mov ch, byte [esp + 0x12]
add ch, byte [esp + 0x44]
cmp dword [esp + 0x14], 0
mov edi, dword [esp + 0x28]
mov byte [esp + 0x12], ch
je 0x100d4a20
cmp ch, 5
jae 0x100d4d1a
mov ebx, dword [ebp]
movzx edi, ch
mov cl, byte [ebx + edi]
lea edx, [ebx + edi]
test cl, cl
je 0x100d4c5b
cmp cl, 0x90
je 0x100d4c5b
cmp cl, 0xcc
jne 0x100d4c92
mov esi, 5
mov eax, 1
sub esi, edi
cmp esi, eax
jbe 0x100d4d1a
nop
cmp byte [edx + eax], cl
jne 0x100d4c92
inc eax
cmp eax, esi
jb 0x100d4c70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.101a1d25
add esp, 0x54
ret
cmp ch, 2
jae 0x100d4cca
test cl, cl
je 0x100d4ca9
cmp cl, 0x90
je 0x100d4ca9
cmp cl, 0xcc
jne 0x100d4d32
mov esi, 2
mov eax, 1
sub esi, edi
cmp esi, eax
jbe 0x100d4cca
nop dword [eax]
cmp byte [edx + eax], cl
jne 0x100d4d32
inc eax
cmp eax, esi
jb 0x100d4cc0
push 0x1c
lea eax, [esp + 0x48]
push eax
lea eax, [ebx - 5]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp dword [esp + 0x54], 0x1000
jne 0x100d4d32
test byte [esp + 0x58], 0xf0
je 0x100d4d32
mov eax, dword [ebp]
mov dl, byte [eax - 5]
test dl, dl
je 0x100d4d00
cmp dl, 0x90
je 0x100d4d00
cmp dl, 0xcc
jne 0x100d4d32
mov ecx, 1
add eax, 0xfffffffc
cmp byte [eax], dl
jne 0x100d4d32
inc ecx
inc eax
cmp ecx, 5
jb 0x100d4d08
mov dword [ebp + 0xc], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.101a1d25
add esp, 0x54
ret
mov ecx, dword [esp + 0x60]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a1d25
add esp, 0x54
ret