Function at 0x10004a20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010246e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1014b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea edi, [esi + 0x30]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], edi
lea ecx, [edi + 8]
mov dword [edi], 0
call fcn.10027300
call fcn.10001bd0
mov ecx, eax
test ecx, ecx
je 0x100053cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x40], eax
lea eax, [edi + 0x44]
push 2
push eax
call fcn.10033fff
add esp, 8
mov dword [edi + 0x74], 0
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 4
call fcn.10010b80
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 5
call fcn.10027dd0
mov byte [ebp - 4], 6
call fcn.10001bd0
mov ecx, eax
test ecx, ecx
je 0x100053d5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0xc0], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xd]
call fcn.10007eb0
mov edi, dword [esi + 0x10]
mov byte [ebp - 4], 8
cmp dword [esi + 0x14], edi
je 0x10004b5b
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 0x10], 4
jmp 0x10004b65
push eax
push edi
lea ecx, [esi + 0xc]
call fcn.100034d0
mov edx, dword [ebp - 0x14]
or edi, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004b86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10006bf0
mov ecx, eax
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 9
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x14], eax
je 0x10004bbf
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.10001930
mov ecx, dword [ebp - 0x14]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [esi + 0x10], 4
jmp 0x10004bc9
push ecx
push eax
lea ecx, [esi + 0xc]
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004be7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xd]
call fcn.10006fb0
mov ecx, eax
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x14], eax
je 0x10004c20
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.10001930
mov ecx, dword [ebp - 0x18]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [esi + 0x10], 4
jmp 0x10004c2a
push ecx
push eax
lea ecx, [esi + 0xc]
call fcn.100034d0
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004c48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007af0
mov ecx, eax
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x14], eax
je 0x10004c81
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.10001930
mov ecx, dword [ebp - 0x18]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [esi + 0x10], 4
jmp 0x10004c8b
push ecx
push eax
lea ecx, [esi + 0xc]
call fcn.100034d0
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004ca9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007640
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0xc
cmp dword [esi + 8], ebx
je 0x10004cda
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x10004ce3
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004d01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10008180
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0xd
cmp dword [esi + 8], ebx
je 0x10004d32
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x10004d3b
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004d59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10006ec0
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0xe
cmp dword [esi + 8], ebx
je 0x10004d8a
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x10004d93
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004db1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007910
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0xf
cmp dword [esi + 8], ebx
je 0x10004de2
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x10004deb
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004e09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007550
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0x10
cmp dword [esi + 8], ebx
je 0x10004e3a
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x10004e43
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004e61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007190
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0x11
cmp dword [esi + 8], ebx
je 0x10004e92
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x10004e9b
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004eb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10006a10
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0x12
cmp dword [esi + 8], ebx
je 0x10004eea
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x10004ef3
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004f11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10008270
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0x13
cmp dword [esi + 8], ebx
je 0x10004f42
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x10004f4b
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004f69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10006dd0
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0x14
cmp dword [esi + 8], ebx
je 0x10004f9a
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x10004fa3
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10004fc1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007280
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0x15
cmp dword [esi + 8], ebx
je 0x10004ff2
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x10004ffb
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10005019
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007370
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0x16
cmp dword [esi + 8], ebx
je 0x1000504a
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x10005053
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10005071
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007cd0
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0x17
cmp dword [esi + 8], ebx
je 0x100050a2
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x100050ab
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100050c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007460
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0x18
cmp dword [esi + 8], ebx
je 0x100050fa
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x10005103
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10005121
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007fa0
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0x19
cmp dword [esi + 8], ebx
je 0x10005152
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x1000515b
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10005179
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.100070a0
mov ebx, dword [esi + 4]
mov byte [ebp - 4], 0x1a
cmp dword [esi + 8], ebx
je 0x100051aa
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10001930
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [esi + 4], 4
jmp 0x100051b3
push eax
push ebx
mov ecx, esi
call fcn.100034d0
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100051d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10006ce0
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1b
call fcn.10010240
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10005207
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007be0
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1c
call fcn.10010240
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000523d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007dc0
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1d
call fcn.10010240
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10005273
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10006b00
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1e
call fcn.10010240
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100052a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007550
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1f
call fcn.10010240
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100052df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10008090
push eax
mov ecx, esi
mov byte [ebp - 4], 0x20
call fcn.10010240
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10005315
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007a00
push eax
mov ecx, esi
mov byte [ebp - 4], 0x21
call fcn.10010240
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000534b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007820
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0x22
call fcn.10010240
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10005382
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xd]
call fcn.10007730
push eax
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 0x23
call fcn.10010240
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100053b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001900
push 0x80004005
call fcn.10001900
int3