Function at 0x4e9640
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
sub esp, 0x54
push esi
mov esi, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x68]
push edi
push esi
call fcn.004cfe40
add esp, 8
test al, al
je 0x4e9976
push ebp
push esi
call fcn.004e95d0
mov eax, dword [esi + 4]
xor ebp, ebp
add esp, 4
cmp eax, ebp
je 0x4e967b
mov ecx, dword [esi]
cmp byte [eax + ecx - 1], 0x2f
je 0x4e9684
push 0x2f
mov ecx, esi
call fcn.00434e00
push 0x53e554
mov ecx, esi
call fcn.00435140
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x4e96a0
mov edx, dword [esi]
cmp byte [eax + edx - 1], 0x2f
je 0x4e96a9
push 0x2f
mov ecx, esi
call fcn.00434e00
push 0x53e544
mov ecx, esi
call fcn.00435140
mov al, byte [esp + 0x68]
test al, al
je 0x4e9975
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x4e96d1
mov ecx, dword [esi]
cmp byte [eax + ecx - 1], 0x2f
je 0x4e96da
push 0x2f
mov ecx, esi
call fcn.00434e00
push 0x549770
mov ecx, esi
call fcn.00435140
push esi
call fcn.004e9560
mov eax, dword [esi]
push edi
push eax
call fcn.004cf5c0
add esp, 0xc
test al, al
jne 0x4e9716
mov edx, dword [esi]
push edx
call fcn.00439d00
add esp, 4
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
pop ebp
pop edi
pop esi
add esp, 0x54
ret
push ebx
push esi
call fcn.004e95d0
add esp, 4
push esi
lea ecx, [esp + 0x20]
call fcn.004359a0
lea eax, [esp + 0x1c]
push 0x541c60
push eax
call fcn.004e9520
lea ecx, [esp + 0x24]
push ecx
call fcn.004e9560
mov eax, dword [esp + 0x28]
push edi
lea edx, [esp + 0x44]
push edx
push eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov bl, 1
mov byte [esp + 0x2b], 0
call fcn.004d01b0
mov edi, eax
add esp, 0x18
cmp edi, ebp
je 0x4e97c0
nop
test bl, bl
je 0x4e97ab
cmp dword [esp + 0x34], 1
jne 0x4e9782
cmp dword [esp + 0x3c], 8
je 0x4e9799
mov ecx, dword [esp + 0x70]
push ecx
lea edx, [esp + 0x38]
push edx
push edi
call fcn.004d0420
add esp, 0xc
mov bl, al
jmp 0x4e9770
mov eax, dword [esp + 0x38]
push eax
push esi
mov bl, 1
call fcn.004e9520
add esp, 8
jmp 0x4e97af
mov bl, byte [esp + 0x13]
push edi
call fcn.004d0630
add esp, 4
test bl, bl
jne 0x4e995d
lea ecx, [esp + 0x14]
push 8
push ecx
mov byte [esp + 0x4c], 0x41
mov byte [esp + 0x4d], 0x42
mov byte [esp + 0x4e], 0x43
mov byte [esp + 0x4f], 0x44
mov byte [esp + 0x50], 0x45
mov byte [esp + 0x51], 0x46
mov byte [esp + 0x52], 0x47
mov byte [esp + 0x53], 0x48
mov byte [esp + 0x54], 0x4a
mov byte [esp + 0x55], 0x4b
mov byte [esp + 0x56], 0x4c
mov byte [esp + 0x57], 0x4d
mov byte [esp + 0x58], 0x4e
mov byte [esp + 0x59], 0x50
mov byte [esp + 0x5a], 0x51
mov byte [esp + 0x5b], 0x52
mov byte [esp + 0x5c], 0x53
mov byte [esp + 0x5d], 0x54
mov byte [esp + 0x5e], 0x55
mov byte [esp + 0x5f], 0x56
mov byte [esp + 0x60], 0x57
mov byte [esp + 0x61], 0x58
mov byte [esp + 0x62], 0x59
mov byte [esp + 0x63], 0x5a
mov byte [esp + 0x64], 0x32
mov byte [esp + 0x65], 0x33
mov byte [esp + 0x66], 0x34
mov byte [esp + 0x67], 0x35
mov byte [esp + 0x68], 0x36
mov byte [esp + 0x69], 0x37
mov byte [esp + 0x6a], 0x38
mov byte [esp + 0x6b], 0x39
call fcn.004d4640
add esp, 8
test al, al
jne 0x4e98a2
mov edx, dword [esi]
push edx
call fcn.00439d00
mov eax, dword [esp + 0x3c]
push eax
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
call fcn.00439d00
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00439d00
add esp, 0xc
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x54
ret
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x4e98b2
mov edx, dword [esi]
cmp byte [eax + edx - 1], 0x2f
je 0x4e98bb
push 0x2f
mov ecx, esi
call fcn.00434e00
push 0x53dc2b
mov ecx, esi
call fcn.00435140
xor edi, edi
lea esp, [esp]
xor eax, eax
mov al, byte [esp + edi + 0x14]
xor ecx, ecx
and eax, 0x1f
mov cl, byte [esp + eax + 0x44]
push ecx
mov ecx, esi
call fcn.00434e00
inc edi
cmp edi, 8
jl 0x4e98d0
push esi
lea ecx, [esp + 0x2c]
call fcn.004359a0
lea edx, [esp + 0x28]
push edx
call fcn.004e9560
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.004cf5c0
add esp, 0xc
test al, al
jne 0x4e9950
mov edx, dword [esi]
push edx
call fcn.00439d00
mov eax, dword [esp + 0x2c]
push eax
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
call fcn.00439d00
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00439d00
mov edx, dword [esp + 0x28]
push edx
call fcn.00439d00
add esp, 0x10
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x54
ret
mov eax, dword [esp + 0x28]
push eax
call fcn.00439d00
add esp, 4
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00439d00
mov edx, dword [esp + 0x20]
push edx
call fcn.00439d00
add esp, 8
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x54
ret