Function at 0x7c814981
Capabilities:
Access pe header
Map section object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3dc
mov eax, dword [0x7c8856cc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2fc], eax
xor edx, edx
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x30c], eax
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x308], eax
push ebx
lea eax, [ebp - 0x238]
mov dword [ebp - 0x2c0], eax
push esi
push edi
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2bc], eax
xor eax, eax
mov dword [ebp - 0x2d8], edx
lea edi, [ebp - 0x2d4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x36c], edx
lea edi, [ebp - 0x368]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x35c], edx
lea edi, [ebp - 0x358]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x280]
mov dword [ebp - 0x340], eax
xor eax, eax
push 0x1c
pop ecx
lea edi, [ebp - 0x3dc]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x230], eax
mov ebx, 0x80
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x194]
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x2f8], edx
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 0x2dc], edx
mov dword [ebp - 0x2ac], edx
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 0x304], 1
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x94], dx
mov word [ebp - 0x238], dx
mov word [ebp - 0x236], bx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x290], ebx
mov word [ebp - 0x194], dx
mov word [ebp - 0x2a4], dx
mov word [ebp - 0x2a2], bx
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x248], ebx
mov word [ebp - 0x114], dx
mov word [ebp - 0x25c], dx
mov word [ebp - 0x25a], bx
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x270], ebx
push dword [esi + 0x10]
mov edi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x27c], eax
mov ax, word [esi + 0xc]
mov word [ebp - 0x3d8], ax
mov ax, word [esi + 0xe]
mov word [ebp - 0x3d6], ax
lea eax, [ebp - 0x384]
push eax
mov dword [ebp - 0x26c], ebx
mov word [ebp - 0x214], dx
mov word [ebp - 0x280], dx
mov word [ebp - 0x27e], bx
mov dword [ebp - 0x2b4], edx
call edi
cmp word [ebp - 0x384], 0
je 0x7c814bad
mov ecx, dword [ebp - 0x382]
mov edx, dword [ebp - 0x384]
mov eax, 0xfffe
and ecx, eax
and edx, eax
cmp edx, ecx
jae 0x7c84609b
movzx eax, word [ebp - 0x384]
mov ecx, dword [ebp - 0x380]
shr eax, 1
cmp word [ecx + eax*2], 0
jne 0x7c84609b
mov eax, dword [esi + 8]
test eax, eax
je 0x7c8462ae
cmp word [eax], 0
je 0x7c8462ae
test byte [esi + 4], 0x40
push eax
jne 0x7c8460c0
lea eax, [ebp - 0x2c8]
push eax
call edi
push dword [esi + 8]
call dword [sym.imp.ntdll.dll_RtlDetermineDosPathNameType_U]
push 0
push 0
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x2c4]
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
je 0x7c8460d8
test byte [esi + 4], bl
jne 0x7c82ed41
push 0x60
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x334], eax
push 1
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x33c]
push eax
xor ebx, ebx
push 0x1200a9
lea eax, [ebp - 0x2d8]
push eax
mov dword [ebp - 0x33c], 0x18
mov dword [ebp - 0x338], ebx
mov dword [ebp - 0x330], 0x40
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
call dword [sym.imp.ntdll.dll_NtOpenFile]
cmp eax, ebx
mov dword [ebp - 0x2a8], eax
jl 0x7c8460e7
push dword [ebp - 0x2d8]
lea eax, [ebp - 0x2d0]
push 0x8000000
push 2
push ebx
push ebx
push 4
push eax
call dword [sym.imp.ntdll.dll_NtCreateSection]
cmp eax, ebx
mov dword [ebp - 0x2a8], eax
jl 0x7c846149
push 2
push ebx
push 1
lea eax, [ebp - 0x2dc]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2cc]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x2d0]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
cmp eax, ebx
mov dword [ebp - 0x2a8], eax
jl 0x7c846182
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x300], 2
and eax, 0xfffffffe
push eax
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
lea eax, [ebp - 0x2d8]
je 0x7c816167
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x2ac], eax
xor eax, eax
cmp ebx, eax
je 0x7c816173
test byte [esi + 4], 8
je 0x7c8461d8
test byte [esi + 4], 8
mov ecx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2f4], ecx
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2f0], ecx
mov word [ebp - 0x2ec], ax
mov word [ebp - 0x2ea], ax
mov dword [ebp - 0x2e8], eax
je 0x7c814d94
mov eax, dword [esi + 0x14]
test eax, 0xffff0000
jne 0x7c8461e7
cmp eax, 1
je 0x7c814d94
push eax
push 0x7c815180
lea eax, [ebp - 0x14]
push 8
push eax
call dword [sym.imp.ntdll.dll__snwprintf]
add esp, 0x10
shl eax, 1
mov word [ebp - 0x2ec], ax
lea eax, [ebp - 0x14]
mov word [ebp - 0x2ea], 0x10
mov dword [ebp - 0x2e8], eax
mov eax, dword [0x7c814258]
mov dword [ebp - 0x2e4], eax
mov eax, dword [0x7c81425c]
push 0x2e
push dword [ebp - 0x2c4]
mov dword [ebp - 0x2e0], eax
call dword [sym.imp.ntdll.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
je 0x7c814dd4
push 0x7c814270
push eax
call dword [sym.imp.ntdll.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x7c816181
mov edi, dword [sym.imp.ntdll.dll_RtlMultiAppendUnicodeStringBuffer]
lea eax, [ebp - 0x2f4]
push eax
push 3
lea eax, [ebp - 0x238]
push eax
call edi
test eax, eax
mov dword [ebp - 0x2a8], eax
jl 0x7c8461f6
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x2f0], eax
mov ax, word [ebp - 0x2f8]
sub word [ebp - 0x2f4], ax
lea eax, [ebp - 0x2f4]
push eax
push 3
lea eax, [ebp - 0x2a4]
push eax
call edi
test eax, eax
mov dword [ebp - 0x2a8], eax
jl 0x7c8461f6
test ebx, ebx
je 0x7c814ee6
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x318], eax
mov eax, dword [0x7c814398]
mov dword [ebp - 0x314], eax
mov eax, dword [0x7c81439c]
mov dword [ebp - 0x310], eax
lea eax, [ebp - 0x324]
push eax
push 3
lea eax, [ebp - 0x25c]
push eax
call edi
test eax, eax
mov dword [ebp - 0x2a8], eax
jl 0x7c8461f6
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x324]
push eax
push 3
lea eax, [ebp - 0x280]
push eax
call edi
test eax, eax
mov dword [ebp - 0x2a8], eax
jl 0x7c8461f6
mov eax, dword [ebp - 0x2fc]
or dword [ebp - 0x2d4], 0xffffffff
test ebx, ebx
mov dword [ebp - 0x374], eax
je 0x7c814f07
test byte [ebp + 8], 1
jne 0x7c84623c
xor eax, eax
inc eax
test ebx, ebx
lea ecx, [ebp - 0x344]
je 0x7c816198
lea edx, [ebp - 0x3ac]
push edx
lea edx, [ebp - 0x3d4]
push edx
lea edx, [ebp - 0x3dc]
push edx
lea edx, [ebp - 0x35c]
push edx
lea edx, [ebp - 0x2c0]
push edx
push dword [esi + 0x14]
neg ebx
push dword [ebp - 0x2b0]
sbb ebx, ebx
lea edx, [ebp - 0x30c]
and ebx, edx
push ebx
push dword [ebp - 0x2ac]
neg eax
sbb eax, eax
and eax, ecx
push eax
xor eax, eax
push eax
push eax
push 0x1200a9
push dword [ebp - 0x300]
push eax
call fcn.7c8142fb
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x3dc], 0
mov esi, dword [ebp - 0x2a8]
je 0x7c82b4f2
test byte [ebp - 0x3dc], 2
jne 0x7c814fa7
push esi
call fcn.7c81436d
test eax, eax
je 0x7c814fa7
xor esi, esi
mov dword [ebp - 0x2a8], esi
test esi, esi
jl 0x7c82b4f6
lea eax, [ebp - 0x3dc]
push eax
call int.7c81518f
test eax, eax
mov dword [ebp - 0x2a8], eax
jl 0x7c84626e
and dword [ebp - 0x2a8], 0
cmp dword [ebp - 0x2ac], 0
je 0x7c814fe4
push dword [ebp - 0x2ac]
call fcn.7c82f702
cmp dword [ebp - 0x2b0], 0
je 0x7c815001
cmp dword [ebp - 0x304], 0
je 0x7c815001
push dword [ebp - 0x2b0]
call fcn.7c82f702
lea eax, [ebp - 0x35c]
push eax
call fcn.7c82f702
mov eax, dword fs:[0x18]
push dword [ebp - 0x2b4]
mov eax, dword [eax + 0x30]
xor edi, edi
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [ebp - 0x230]
cmp ecx, edi
mov esi, dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov eax, dword [ebp - 0x22c]
je 0x7c815058
cmp ecx, eax
jne 0x7c8369d6
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x228], ecx
cmp eax, edi
mov dword [ebp - 0x234], eax
je 0x7c815065
mov word [eax], di
mov ax, word [ebp - 0x224]
mov ecx, dword [ebp - 0x29c]
cmp ecx, edi
mov word [ebp - 0x236], ax
mov eax, dword [ebp - 0x298]
mov word [ebp - 0x238], di
je 0x7c8150a4
cmp ecx, eax
jne 0x7c8369f0
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x294], ecx
cmp eax, edi
mov dword [ebp - 0x2a0], eax
je 0x7c8150b1
mov word [eax], di
mov ax, word [ebp - 0x290]
mov ecx, dword [ebp - 0x254]
cmp ecx, edi
mov word [ebp - 0x2a2], ax
mov eax, dword [ebp - 0x250]
mov word [ebp - 0x2a4], di
je 0x7c8150f0
cmp ecx, eax
jne 0x7c836a0a
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x24c], ecx
cmp eax, edi
mov dword [ebp - 0x258], eax
je 0x7c8150fd
mov word [eax], di
mov ax, word [ebp - 0x248]
mov ecx, dword [ebp - 0x278]
cmp ecx, edi
mov word [ebp - 0x25a], ax
mov eax, dword [ebp - 0x274]
mov word [ebp - 0x25c], di
je 0x7c81513c
cmp ecx, eax
jne 0x7c836a24
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x270], ecx
cmp eax, edi
mov dword [ebp - 0x27c], eax
je 0x7c815149
mov word [eax], di
cmp dword [ebp - 0x2a8], edi
mov ax, word [ebp - 0x26c]
mov word [ebp - 0x280], di
mov word [ebp - 0x27e], ax
jl 0x7c82b4c3
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2a8]
pop edi
pop esi
pop ebx
call fcn.7c8097aa
leave
ret 0xc
and dword [ebp - 0x2b0], 0
jmp 0x7c814d05
cmp dword [esi + 0x14], eax
je 0x7c814d1f
jmp 0x7c8461c9
add word [ebp - 0x2f4], 0xffee
mov dword [ebp - 0x2f8], 0x12
jmp 0x7c814dd4
lea ecx, [ebp - 0x30c]
jmp 0x7c814f18
mov eax, dword [ebp - 0x2fc]
cmp eax, edi
je 0x7c81516a
mov eax, dword [eax]
cmp eax, edi
je 0x7c81516a
jmp 0x7c8462d4
test esi, esi
jge 0x7c82b512
cmp esi, 0xc0000034
je 0x7c82b512
cmp esi, 0xc0000089
je 0x7c82b512
cmp esi, 0xc000008a
jne 0x7c846243
push 2
pop eax
push 0x7c82b55c
push 0x7c82b530
push eax
push 0x35
call sub.ntdll.dll_DbgPrintEx
add esp, 0x10
jmp 0x7c814fd0
mov eax, dword [esi + 0x1c]
xor ecx, ecx
push ecx
test al, 1
pop edx
setne dl
mov dword [ebp - 0x2d8], ecx
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], eax
mov dword [ebp - 0x304], ecx
inc edx
mov dword [ebp - 0x300], edx
jmp 0x7c814cdb
add edx, dword [eax - 0x17]
invalid
ror dword [esi - 0x442b6a40], 1
fld qword [ebx + 0x77]
or byte [0xe2463d9c], cl
dec edi
arpl word [edi - 4], si
or bh, byte [esi + 0x63b44acb]
cld
xchg edx, eax
ret
jo 0x7c8369b4
fdiv qword [0xb01707eb]
xor eax, 0xb01707eb
jl 0x7c8369d7
mov al, byte [0x1e344faf]
dec ebx
xor ebp, dword [ebx + edi*8]
or al, 0xff
aaa
cld
cmp al, byte [ebp + 0x3e891da1]
mov dword [esi], edi
aaa
xor byte [edi + 0x6a1d3035], 0x8e
mov dh, 0x53
lss ebx, [ebp + 0x37f086cc]
daa
fistp qword [ebp - 0xa976d06]
dec esi
loope 0x7c836a5d
loope 0x7c8369b8
dec ebp
fst qword [eax + 0xf]
shr esp, 1
lahf
xchg al, dh
inc ecx
inc ebp
jg 0x7c8369dd
dec ebx
js 0x7c836a86
add eax, 0xffcc48fb
cdq
cdq
invalid
jmp 0x7c836ab8
cdq
leave
repe cmpsd dword [esi], dword es:[edi]
sbb al, 0x6e
loop 0x7c8460a1
test dword [esi + 0x13], edi
mov esp, esp
sbb al, 0x79
add dword [edx - 0x331e55f2], ecx
in al, 0x1c
jns 0x7c8460a6
push cs
cmp dh, cl
shl ecx, 0xc5
stosb byte es:[edi], al
invalid
mov ebp, 0xac55dc6c
inc ebx
push ds
shr al, 0xa8
add byte es:[esi - 0x26ea64e7], ch
dec ebp
call 0xa3571a16
test dword [eax + 0x3e], ebp
xchg edx, eax
wait
adc eax, 0x26e84dd9
mov ecx, 0x688526d2
xchg edx, eax
rol dword [ecx], cl
mov ecx, 0xe5fbd0cc
push 0x24
retf
cdq
sbb ah, al
test dword [esi - 0x5e], esp
imul ebx, dword [ecx + 0x26], 0x57
xchg ebx, eax
and byte [ebx + 0x53], 0x80
add eax, 0xc4a5d0ff
jne 0x7c8462a9
movsd dword es:[edi], dword [esi]
les esi, [ebp + 0x69]
int 0xc3
cmpsb byte [esi], byte es:[edi]
test eax, 0xdb7a532a
dec dword [ebp - 0x4e]
cmp byte [ebx - 0xf6ce04e], bl
aaa
xchg esi, eax
ret
wait
mov dl, 0x1f
xchg ebx, eax
invalid
arpl word [ecx - 0x45287349], bx
sahf
xchg ebx, eax
and al, 0xc5
aaa
popal
xchg edi, eax
xchg edi, eax
and edi, dword [edx + eax + 0x67cdb020]
push edi
insd dword es:[edi], dx
dec ebp
test eax, 0xfaab58ba
leave
cli
aam 0xaa
wait
daa
imul edx, dword [ebp - 0x65], 0xda5b5593
out dx, eax
add byte [eax + 0x56], bl
jbe 0x7c8462c8
invalid
jno 0x7c846235
retf
and edi, esi
sal dword [ecx + 0x7a], 0x60
jp 0x7c84630f
pushal
mov al, byte [0x43d038f5]
jb 0x7c84624c
pop esp
insd dword es:[edi], dx
xchg ebp, eax
inc edi
jnp 0x7c846298
in al, dx
stosd dword es:[edi], eax
inc ecx
mov ch, 0x3f
jns 0x7c8462ad
push esp
mov byte [0x25c51b44], al
sbb al, 0xd
test byte [esi - 0x6697d91f], ah
test al, 0x4d
in eax, 8
in eax, 0x35
out dx, eax
mov cl, 0x78
xchg ecx, eax
and eax, 0xa6840d1c
loope 0x7c8462f5
push 0xe54da899
or ch, ah
xor eax, 0x9178b1ef
cmp al, 0x41
pop esi
mov byte [edi + 0x3c], al
in al, dx
neg dword [edi + 0x27]
sub esp, dword [ebx]
push esp
add edi, dword [ecx + 0xfb92947]
movsb byte es:[edi], byte [esi]
push esp
salc
int3
sub al, 0x3b
lodsd eax, dword [esi]
sub eax, 0x2d5481f1
mov ah, ah
aas
into
jg 0x7c846381
mov esi, 0x487dec90
arpl word [edi + 0x678ed400], cx
mov al, 0x9d
popfd
std
ret 0x2241
or eax, 0x9503d12b
push ss
sbb dl, byte [edx]
push 0xe
pop ds
aad 0x79
popfd
adc al, 0xb8
push 0x39733d6d
cmp byte [eax + 0x5a8e450f], cl
mov dh, 0xe0
sbb eax, 0xf01fd20c
and bl, ah
push 0x16
inc edx
fcompi st(7)
mov al, 0xe7
pop edx
xchg edx, eax
loopne 0x7c8463d1
or ecx, dword [ebp - 0x5f]
xor dword [edi + 0x2a], esp
cmc
salc
sub dword [edx], edx
or eax, 0x563b6d1e
call 0xe8141771
push ebp
fcomp dword [edx + ecx*8 + 0x4ca590fb]
sti
nop
movsd dword es:[edi], dword [esi]
dec esp
add ah, ah
inc ebp
adc ebp, dword [ebp + 0x53]
in al, 0xa8
pop eax
xchg dword [esi - 0x32fd2e13], ebp
lds ebx, [esi]
div dword [ecx + 0x6d]
xchg ebp, eax
inc ebp
and al, 0xa0
bound esp, qword [0xbbb88867]
salc
pop ss
aam 0x49
or eax, 0x7c6294ab
out 0x4a, al
mov eax, dword [0x6faae8d7]
jecxz 0x7c84633a
mov al, 0x13
mov ebp, 0xf623f96e
push edx
dec esp
mov bl, 0x35
cli
adc eax, 0xa6dfaf2f
cmp ebx, dword [eax]
mov dh, byte [ebx - 0x2a425373]
push ebx