Function at 0x100d72a0
Capabilities:
Parse pe header

Disassembly:
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [0x102c7aa4]
jmp 0x100d72a0
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x10162900
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101b23cc]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10c]
cmp eax, 0xd3df
jne 0x100d73c6
mov byte [ebp], 0
push 0xff
push 0
lea eax, [ebp + 1]
push eax
call fcn.100fcf90
add esp, 0xc
mov ecx, dword [ebp + 0x118]
xor ecx, 0x881
push ecx
push 7
call fcn.100dad00
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.100fdd70
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100ae440
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100d7702
push 0
push 0
push 0
push 6
push eax
call fcn.100ae3f0
mov edi, eax
lea ecx, [edi + 1]
mov eax, ecx
lea esi, [eax + 1]
jmp 0x100d7360
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100d7360
sub eax, esi
mov ebx, eax
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100d7372
sub eax, esi
mov esi, eax
call fcn.100d70d0
mov ecx, edx
mov edx, eax
or edx, ecx
je 0x100d73a8
mov edx, dword [ebp + 0x114]
sub edx, ebx
sub edx, 2
push edx
lea edx, [esi + edi + 2]
push ecx
push eax
call fcn.100d5cf0
add esp, 0xc
jmp 0x100d73aa
xor eax, eax
mov byte [edi], al
push edi
call fcn.100ae420
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
jmp 0x100d7704
cmp eax, 0xd3e4
jne 0x100d746c
mov byte [ebp], 0
push 0xff
push 0
lea ecx, [ebp + 1]
push ecx
call fcn.100fcf90
add esp, 0xc
mov edx, dword [ebp + 0x118]
xor edx, 0x881
push edx
push 7
call fcn.100dad00
add esp, 4
push eax
lea eax, [ebp]
push eax
call fcn.100fdd70
add esp, 0xc
lea ecx, [ebp]
push ecx
push 0
push 0xf001f
call fcn.100ae440
mov edi, eax
test edi, edi
je 0x100d7702
push 0
push 0
push 0
push 6
push edi
call fcn.100ae3f0
mov esi, eax
mov eax, dword [esi + 1]
mov ecx, dword [esi + 5]
mov edx, dword [ebp + 0x114]
add edx, 0xfffffff7
push edx
lea edx, [esi + 9]
push ecx
push eax
call fcn.100d5cf0
add esp, 0xc
mov byte [esi], al
push esi
call fcn.100ae420
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
jmp 0x100d7704
cmp eax, 0xd3e0
jne 0x100d7549
mov byte [ebp], 0
push 0xff
push 0
lea eax, [ebp + 1]
push eax
call fcn.100fcf90
add esp, 0xc
mov ecx, dword [ebp + 0x118]
xor ecx, 0x881
push ecx
push 8
call fcn.100dad00
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.100fdd70
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100ae440
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100d7702
push 0
push 0
push 0
push 6
push eax
call fcn.100ae3f0
mov edi, eax
lea ecx, [edi + 1]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100d74e5
sub eax, esi
mov ebx, eax
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100d74f7
sub eax, esi
mov esi, eax
call fcn.100d70d0
mov ecx, eax
or ecx, edx
je 0x100d752b
mov ecx, dword [ebp + 0x114]
sub ecx, ebx
sub ecx, 2
lea esi, [esi + edi + 2]
push esi
push edx
push eax
call fcn.100d5d70
add esp, 0xc
jmp 0x100d752d
xor eax, eax
mov byte [edi], al
push edi
call fcn.100ae420
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
jmp 0x100d7704
cmp eax, 0xd3e5
jne 0x100d75d8
mov byte [ebp], 0
push 0xff
push 0
lea eax, [ebp + 1]
push eax
call fcn.100fcf90
add esp, 0xc
mov ecx, dword [ebp + 0x118]
xor ecx, 0x881
push ecx
push 8
call fcn.100dad00
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.100fdd70
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100ae440
mov edi, eax
test edi, edi
je 0x100d7702
push 0
push 0
push 0
push 6
push edi
call fcn.100ae3f0
mov esi, eax
mov eax, dword [esi + 1]
mov edx, dword [esi + 5]
mov ecx, dword [ebp + 0x114]
add ecx, 0xfffffff7
lea ebx, [esi + 9]
push ebx
push edx
push eax
call fcn.100d5d70
jmp 0x100d7450
cmp eax, 0xd3e1
jne 0x100d77c2
mov ecx, dword [ebp + 0x114]
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x2c], eax
movzx edi, cx
and edi, 0xffffefff
mov dword [ebp - 0x28], edi
mov byte [ebp], 0
push 0xff
push 0
lea ecx, [ebp + 1]
push ecx
call fcn.100fcf90
add esp, 0xc
mov eax, dword [ebp + 0x118]
xor eax, 0x881
mov dword [ebp - 0x18], eax
push eax
push 9
call fcn.100dad00
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.100fdd70
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100ae440
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100d7702
push 0
push 0
push 0
push 6
push eax
call fcn.100ae3f0
mov esi, eax
mov dword [ebp - 0x20], esi
lea edx, [eax + 1]
jmp 0x100d7670
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100d7670
sub eax, edx
lea ecx, [eax + esi + 1]
mov dword [ebp - 0x24], ecx
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x100d7687
sub eax, ebx
lea ebx, [eax + ecx + 1]
cmp edi, 4
jne 0x100d76a3
lea ecx, [ebx + 2]
mov dword [ebp - 0x1c], ecx
jmp 0x100d76ba
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100d76a8
sub eax, edx
lea edx, [eax + ebx + 1]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
push eax
push 6
call fcn.100dad00
add esp, 4
push eax
lea ecx, [ebp]
push ecx
call fcn.100fdd70
add esp, 0xc
lea edx, [ebp]
push edx
push 0xf4248
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x100d772b
push esi
call fcn.100ae420
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.100fc49a
add ebp, 0x104
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 0
push 6
push edi
call fcn.100ae3f0
mov esi, eax
mov dword [ebp - 0x18], esi
mov eax, edi
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [ebp - 4], 0
push 0xf4240
lea ecx, [esi + 8]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.10100355
add esp, 4
push eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov edx, ebx
mov ecx, dword [ebp - 0x20]
call fcn.100d66b0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
jmp 0x100d779f
mov eax, dword [ebp - 0x20]
push eax
call fcn.100ae420
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
call fcn.100ae420
mov eax, 1
jmp 0x100d7704
cmp eax, 0xd3e3
jne 0x100d77f2
xor ecx, ecx
mov esi, dword [ebp + 0x114]
mov eax, dword [ebp + 0x118]
cdq
or ecx, eax
or esi, edx
mov edx, ecx
or edx, esi
je 0x100d7702
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x100d7704
cmp eax, 0xd3e2
jne 0x100d78aa
mov byte [ebp], 0
push 0xff
push 0
lea eax, [ebp + 1]
push eax
call fcn.100fcf90
add esp, 0xc
mov ecx, dword [ebp + 0x118]
xor ecx, 0x881
push ecx
push 0xa
call fcn.100dad00
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.100fdd70
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100ae440
mov edi, eax
test edi, edi
je 0x100d7702
push 0
push 0
push 0
push 6
push edi
call fcn.100ae3f0
mov esi, eax
lea ecx, [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 8], 0
mov ecx, eax
or ecx, edx
je 0x100d7455
cmp word [eax], 0x5a4d
jne 0x100d7455
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100d7455
mov edx, dword [ecx + 0x50]
mov dword [esi + 8], edx
jmp 0x100d7455
cmp eax, 0xd3e6
jne 0x100d7702
mov byte [ebp], 0
push 0xff
push 0
lea eax, [ebp + 1]
push eax
call fcn.100fcf90
add esp, 0xc
mov ecx, dword [ebp + 0x118]
xor ecx, 0x881
push ecx
push 0xb
call fcn.100dad00
add esp, 4
push eax
lea edx, [ebp]
push edx
call fcn.100fdd70
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 0xf001f
call fcn.100ae440
mov edi, eax
test edi, edi
je 0x100d7702
push 0
push 0
push 0
push 6
push edi
call fcn.100ae3f0
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x2c], ecx
lea edx, [esi + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esi], eax
mov dword [esi + 4], 0
jmp 0x100d7455