Function at 0x403070
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x5b6050]
sub esp, 0x24
push ebx
push esi
push edi
test ecx, ecx
jne 0x40316d
mov eax, dword fs:[0x30]
xor edi, edi
mov dword [ebp - 8], edi
mov ebx, 0x3285501
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x30]
test edi, edi
je 0x4030db
add eax, 0xfffffff8
mov edx, 0x811c9dc5
movzx eax, ax
shr eax, 1
lea esi, [ecx + eax*2]
cmp ecx, esi
je 0x4030d7
movsx eax, byte [ecx]
add ecx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jne 0x4030c5
cmp edx, edi
jne 0x40314c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + edx + 0x78]
mov eax, dword [eax + edx + 0x7c]
mov dword [ebp - 0x18], eax
lea eax, [ecx + edx]
mov dword [ebp - 0x14], eax
cmp eax, edx
je 0x40314c
mov esi, dword [eax + 0x18]
test esi, esi
je 0x40314c
mov eax, dword [eax + 0x20]
lea edi, [eax + esi*4]
add edi, edx
nop dword [eax + eax]
mov eax, dword [edi - 4]
lea edi, [edi - 4]
add eax, edx
dec esi
mov edx, 0x811c9dc5
mov cl, byte [eax]
inc eax
test cl, cl
je 0x40313a
movsx ecx, cl
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [eax - 1]
test cl, cl
jne 0x403125
cmp edx, ebx
mov edx, dword [ebp - 0xc]
je 0x40336a
test esi, esi
jne 0x403110
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x10]
je 0x403165
cmp dword [ecx + 0x18], 0
jne 0x4030a7
xor ecx, ecx
mov dword [0x5b6050], ecx
push 4
push 0x1000
push 4
push 0
call ecx
mov dword [ebp - 0x20], eax
mov edx, 0x2cc
mov ecx, eax
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x403184
mov dword [eax], 0x10010
mov esi, dword [0x5b6048]
test esi, esi
jne 0x403286
mov eax, dword fs:[0x30]
xor edi, edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0x85cca27e
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x30]
test edi, edi
je 0x4031f9
add eax, 0xfffffff8
mov edx, 0x811c9dc5
movzx eax, ax
shr eax, 1
lea esi, [ecx + eax*2]
cmp ecx, esi
je 0x4031f5
movsx eax, byte [ecx]
add ecx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jne 0x4031e3
cmp edx, edi
jne 0x403265
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x18]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
mov dword [ebp - 0x14], eax
lea eax, [ecx + ebx]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x403265
mov esi, dword [eax + 0x18]
test esi, esi
je 0x403265
mov eax, dword [eax + 0x20]
lea edi, [eax + esi*4]
add edi, ebx
mov ecx, dword [edi - 4]
lea edi, [edi - 4]
add ecx, ebx
dec esi
mov edx, 0x811c9dc5
mov al, byte [ecx]
inc ecx
test al, al
je 0x403255
nop dword [eax + eax]
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx - 1]
test al, al
jne 0x403240
cmp edx, dword [ebp - 0xc]
je 0x4033e2
test esi, esi
jne 0x403226
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x10]
je 0x40327e
cmp dword [ecx + 0x18], 0
jne 0x4031c5
xor esi, esi
mov dword [0x5b6048], esi
mov ecx, dword [0x5b6058]
test ecx, ecx
jne 0x403503
mov eax, dword fs:[0x30]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 0x9bc5a608
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], ecx
mov eax, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x30]
test ebx, ebx
je 0x4032ee
add eax, 0xfffffff8
mov edx, 0x811c9dc5
movzx eax, ax
shr eax, 1
lea edi, [ecx + eax*2]
cmp ecx, edi
je 0x4032e6
movsx eax, byte [ecx]
add ecx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jne 0x4032d4
cmp edx, ebx
jne 0x4034e2
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x10], edx
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + edx + 0x78]
mov eax, dword [eax + edx + 0x7c]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + edx]
mov dword [ebp - 0x18], eax
cmp eax, edx
je 0x4034e2
mov edi, dword [eax + 0x18]
test edi, edi
je 0x4034e2
mov eax, dword [eax + 0x20]
lea ebx, [eax + edi*4]
add ebx, edx
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov edx, 0x811c9dc5
mov al, byte [ecx]
inc ecx
test al, al
je 0x403355
nop dword [eax + eax]
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx - 1]
test al, al
jne 0x403340
cmp edx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
je 0x403461
test edi, edi
jne 0x403326
jmp 0x4034df
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edx]
add ecx, edx
cmp ecx, edi
jbe 0x403167
mov eax, dword [ebp - 0x18]
add eax, edi
cmp ecx, eax
jae 0x403167
mov al, byte [ecx]
mov edi, 0x811c9dc5
mov dword [ebp - 8], edi
mov ebx, edi
cmp al, 0x2e
je 0x4033bc
movsx eax, al
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
mov al, byte [ecx]
cmp al, 0x2e
jne 0x4033a7
mov dword [ebp - 8], edi
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x4033d8
movsx eax, al
lea ecx, [ecx + 1]
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x4033c4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
jmp 0x40314f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + ebx]
add esi, ebx
cmp esi, edx
jbe 0x403280
mov eax, dword [ebp - 0x14]
add eax, edx
cmp esi, eax
jae 0x403280
mov al, byte [esi]
mov edi, 0x811c9dc5
mov dword [ebp - 8], edi
mov ebx, edi
mov dword [ebp - 0xc], ebx
cmp al, 0x2e
je 0x403437
movsx eax, al
inc esi
xor eax, edi
imul edi, eax, 0x1000193
mov al, byte [esi]
cmp al, 0x2e
jne 0x403422
mov dword [ebp - 8], edi
mov al, byte [esi + 1]
inc esi
test al, al
je 0x403457
nop
movsx eax, al
lea esi, [esi + 1]
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [esi]
test al, al
jne 0x403440
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
jmp 0x403268
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edx]
add ecx, edx
cmp ecx, ebx
jbe 0x4034fd
mov eax, dword [ebp - 0x1c]
add eax, ebx
cmp ecx, eax
jae 0x4034fd
mov al, byte [ecx]
mov edx, 0x811c9dc5
mov dword [ebp - 4], edx
mov ebx, edx
mov dword [ebp - 0xc], ebx
cmp al, 0x2e
je 0x4034b5
nop dword [eax]
movsx eax, al
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
cmp al, 0x2e
jne 0x4034a0
mov dword [ebp - 4], edx
mov al, byte [ecx + 1]
inc ecx
test al, al
je 0x4034d7
nop dword [eax]
movsx eax, al
lea ecx, [ecx + 1]
xor eax, ebx
imul ebx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x4034c0
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x14]
je 0x4034fb
cmp dword [ecx + 0x18], 0
jne 0x4032b6
xor ecx, ecx
mov dword [0x5b6058], ecx
call ecx
mov ebx, dword [ebp - 0x20]
push ebx
push eax
call esi
test eax, eax
je 0x403530
cmp dword [ebx + 4], 0
jne 0x403530
cmp dword [ebx + 8], 0
jne 0x403530
cmp dword [ebx + 0xc], 0
jne 0x403530
cmp dword [ebx + 0x10], 0
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret