Function at 0x4380d1
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x4e2040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov dword [ebp - 0x298], edx
mov dword [ebp - 0x290], ecx
je 0x438627
call fcn.0043864d
mov esi, eax
xor ebx, ebx
cmp byte [esi + 0x18], bl
je 0x438125
push 0xb7c5a7d9
push 0x6925a591
push ebx
push 0xc
mov ecx, esi
call fcn.00407f3c
add esp, 0x10
mov byte [esi + 0x18], bl
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43812a
sub ecx, edx
mov edx, dword [ebp + 0xc]
sar ecx, 1
push ecx
push esi
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041774f
add esp, 0xc
cmp eax, 0xffffffff
jne 0x438627
push 0x250
lea eax, [ebp - 0x288]
push ebx
push eax
call fcn.004b21c0
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x34]
add esp, 0xc
stosd dword es:[edi], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.0040d41d
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4381a0
push 0x4d15c4
lea ecx, [ebp - 0x34]
call fcn.0040c0fc
push 0x4d15d0
lea ecx, [ebp - 0x34]
call fcn.0040c0fc
mov ecx, dword [0x4e6db8]
test ecx, ecx
jne 0x4382a7
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x294], ecx
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x3c]
mov ebx, dword [eax + edx + 0x78]
add ebx, edx
mov dword [ebp - 0x2a4], ebx
cmp ebx, edx
je 0x438282
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x438282
mov eax, dword [ebx + 0x20]
lea eax, [eax + esi*4]
add eax, edx
sub eax, 4
mov ecx, 0x569eb0a2
dec esi
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x29c], eax
mov edi, dword [eax]
add edi, edx
mov cl, byte [edi]
inc edi
test cl, cl
je 0x438278
mov ebx, dword [ebp - 0x28c]
movsx eax, cl
xor eax, ebx
imul ecx, eax, 0x1000193
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x1000193
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov cl, byte [edi]
imul ebx, eax, 0x1000193
inc edi
test cl, cl
jne 0x43822a
mov dword [ebp - 0x28c], ebx
cmp dword [ebp - 0x28c], 0x82dd8087
mov ebx, dword [ebp - 0x2a4]
je 0x43847d
mov eax, dword [ebp - 0x29c]
test esi, esi
jne 0x438204
mov ecx, dword [ebp - 0x294]
mov eax, dword [ecx]
xor ebx, ebx
mov ecx, eax
mov dword [ebp - 0x294], eax
cmp eax, dword [ebp - 0x2a0]
je 0x43829f
cmp dword [ecx + 0x18], ebx
jne 0x4381d7
mov ecx, ebx
mov dword [0x4e6db8], ecx
cmp dword [ebp - 0x20], 7
lea edx, [ebp - 0x288]
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push edx
push eax
call ecx
mov dword [ebp - 0x28c], eax
cmp eax, 0xffffffff
je 0x43861f
push 0x2e
pop ebx
mov ecx, dword [0x4e6d64]
test ecx, ecx
jne 0x4383d0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a4], ecx
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x3c]
mov ebx, dword [eax + edx + 0x78]
add ebx, edx
mov dword [ebp - 0x2a0], ebx
cmp ebx, edx
je 0x4383a3
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x4383a3
mov eax, dword [ebx + 0x20]
lea eax, [eax + esi*4]
add eax, edx
sub eax, 4
mov ecx, 0xbc4b0bc8
dec esi
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x29c], eax
mov edi, dword [eax]
add edi, edx
mov cl, byte [edi]
inc edi
test cl, cl
je 0x438399
mov ebx, dword [ebp - 0x294]
movsx eax, cl
xor eax, ebx
imul ecx, eax, 0x1000193
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x1000193
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov cl, byte [edi]
imul ebx, eax, 0x1000193
inc edi
test cl, cl
jne 0x43834b
mov dword [ebp - 0x294], ebx
cmp dword [ebp - 0x294], 0xa4707cd7
mov ebx, dword [ebp - 0x2a0]
je 0x438497
mov eax, dword [ebp - 0x29c]
test esi, esi
jne 0x438325
mov ecx, dword [ebp - 0x2a4]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 0x2a4], eax
cmp eax, dword [ebp - 0x2a8]
je 0x4383bf
cmp dword [ecx + 0x18], 0
jne 0x4382f8
xor ecx, ecx
mov eax, dword [ebp - 0x28c]
push 0x2e
mov dword [0x4e6d64], ecx
pop ebx
lea edx, [ebp - 0x288]
push edx
push eax
call ecx
test eax, eax
je 0x438524
cmp word [ebp - 0x25c], bx
jne 0x43840c
mov eax, dword [ebp - 0x28c]
cmp word [ebp - 0x25a], bx
je 0x4382ce
cmp word [ebp - 0x25a], 0
je 0x4382ce
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
dec eax
push eax
push 0
lea eax, [ebp - 0x2c0]
push eax
call fcn.00417664
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.0040c732
pop ecx
lea ecx, [ebp - 0x2c0]
call fcn.0040c4e8
test byte [ebp - 0x288], 0x10
je 0x4384b1
cmp dword [ebp - 8], 7
lea eax, [ebp - 0x1c]
push dword [ebp - 0xc]
cmova eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x298]
mov ecx, dword [ebp - 0x290]
push eax
call fcn.004380d1
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.0040c4e8
mov eax, dword [ebp - 0x28c]
jmp 0x4382ce
mov eax, dword [ebx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edx]
add ecx, edx
jmp 0x4382a1
mov eax, dword [ebx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edx]
add ecx, edx
jmp 0x4383c1
mov ebx, dword [ebp - 0x298]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
cmp esi, edi
jne 0x4384d1
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x1c]
push eax
call fcn.004386e7
jmp 0x438511
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x4384db
mov eax, dword [esi]
push dword [esi + 0x10]
cmp dword [ebp - 8], 7
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
cmova ecx, dword [ebp - 0x1c]
push eax
push ecx
call fcn.0041774f
add esp, 0xc
cmp eax, 0xffffffff
je 0x43850a
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x1c]
push eax
call fcn.004386e7
add esi, 0x18
cmp esi, edi
jne 0x4384d1
lea ecx, [ebp - 0x1c]
call fcn.0040c4e8
mov eax, dword [ebp - 0x28c]
jmp 0x4382cb
mov eax, dword [0x4e7a4c]
test eax, eax
jne 0x438617
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, eax
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], ecx
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x3c]
mov ebx, dword [eax + edx + 0x78]
add ebx, edx
mov dword [ebp - 0x2a8], ebx
cmp ebx, edx
je 0x4385f4
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x4385f4
mov eax, dword [ebx + 0x20]
lea eax, [eax + esi*4]
add eax, edx
sub eax, 4
mov ecx, 0x53cd5c50
dec esi
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x2a0], eax
mov edi, dword [eax]
add edi, edx
mov cl, byte [edi]
inc edi
test cl, cl
je 0x4385ea
mov ebx, dword [ebp - 0x290]
movsx eax, cl
xor eax, ebx
imul ecx, eax, 0x1000193
mov eax, ecx
shr eax, 0x10
xor eax, ecx
imul ecx, eax, 0x1000193
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov cl, byte [edi]
imul ebx, eax, 0x1000193
inc edi
test cl, cl
jne 0x4385a0
mov dword [ebp - 0x290], ebx
cmp dword [ebp - 0x290], 0xd845369d
mov ebx, dword [ebp - 0x2a8]
je 0x438636
mov eax, dword [ebp - 0x2a0]
test esi, esi
jne 0x43857a
mov ecx, dword [ebp - 0x298]
mov eax, dword [ecx]
mov ecx, eax
mov dword [ebp - 0x298], eax
cmp eax, dword [ebp - 0x29c]
je 0x438610
cmp dword [ecx + 0x18], 0
jne 0x43854d
xor eax, eax
mov dword [0x4e7a4c], eax
push dword [ebp - 0x28c]
call eax
lea ecx, [ebp - 0x34]
call fcn.0040c4e8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b0ce6
leave
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edx]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x438612