Function at 0x4f2be0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
mov eax, dword [0x557200]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
xor edx, edx
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
mov ebp, dword [esp + 0x94]
push esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x9c]
push edi
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x160]
push edx
push dword [ebp]
mov dword [esp + 0x4c], esi
lea edi, [eax + 0x14]
mov dword [esp + 0x54], ebp
push edi
push esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], edx
call fcn.004f0a40
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4f2ca1
push dword [ebp]
mov eax, dword [esp + 0x40]
add eax, 0x50
push eax
call fcn.004f1930
add esp, 8
test eax, eax
je 0x4f2cf9
push 0x18
push eax
push edi
push esi
call fcn.004f0a40
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4f2cf9
cmp byte [esi + 0xe8], 0
je 0x4f2ca1
push eax
push esi
call fcn.004f2630
add esp, 8
test eax, eax
je 0x4f2cf9
mov eax, dword [esp + 0x1c]
push dword [esi + 0x184]
mov ebp, dword [eax + 0xc]
push dword [esi + 0x178]
mov eax, dword [esp + 0x1c]
push ebx
push eax
mov dword [esp + 0x40], ebp
mov eax, dword [eax + 0x24]
call eax
mov edi, dword [esi + 0x178]
mov ecx, eax
mov dword [esp + 0x3c], ecx
add esp, 0x10
add ecx, ebp
cmp ecx, edi
jle 0x4f2d31
mov eax, dword [esi + 0x10]
add ecx, 0x10
mov dword [esi + 0x178], ecx
shl ecx, 4
push ecx
push dword [esi + 0x184]
call eax
add esp, 8
test eax, eax
jne 0x4f2d11
mov dword [esi + 0x178], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004b4f32
add esp, 0x7c
ret
mov ebp, dword [esp + 0x2c]
mov dword [esi + 0x184], eax
cmp ebp, edi
jle 0x4f2d31
push eax
push ebp
push ebx
mov ebx, dword [esp + 0x20]
push ebx
mov eax, dword [ebx + 0x24]
call eax
add esp, 0x10
jmp 0x4f2d35
mov ebx, dword [esp + 0x14]
mov edx, dword [esi + 0x184]
xor ebp, ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], ebp
cmp dword [esp + 0x2c], ebp
jle 0x4f2f53
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x28], ecx
nop word [eax + eax]
mov eax, dword [esi + 0x184]
mov dword [esp + 0x40], edi
mov edi, dword [eax + ecx]
mov eax, dword [ebx + 0x1c]
push edi
push ebx
call eax
add eax, edi
push eax
push edi
push ebx
push esi
call fcn.004efff0
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x4f2cf9
mov eax, dword [ebx]
cmp byte [eax - 1], 0
jne 0x4f2f1a
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
mov byte [eax - 1], 1
mov eax, dword [ebx]
mov dword [ecx + edi*4], eax
inc edi
add ebp, dword [esi + 0x184]
mov dword [esp + 0x10], edi
cmp byte [ebp + 0xc], 0
jne 0x4f2e3c
cmp byte [ebx + 8], 0
mov byte [esp + 0x38], 1
je 0x4f2dfd
mov edi, dword [esp + 0x30]
xor ecx, ecx
test edi, edi
jle 0x4f2df9
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x14]
mov eax, edx
nop dword [eax]
cmp ebx, dword [eax]
je 0x4f2dee
inc ecx
add eax, 0xc
cmp ecx, edi
jl 0x4f2de0
jmp 0x4f2df9
lea eax, [ecx + ecx*2]
mov al, byte [edx + eax*4 + 4]
mov byte [esp + 0x38], al
mov edi, dword [esp + 0x10]
push dword [esp + 0xa4]
lea eax, [esi + 0x19c]
push eax
push dword [ebp + 8]
mov eax, dword [esp + 0x20]
push dword [ebp + 4]
push dword [esp + 0x48]
push eax
push esi
call fcn.004f2b70
add esp, 0x1c
test eax, eax
jne 0x4f363d
mov eax, dword [esp + 0x18]
lea ecx, [eax + edi*4]
mov eax, dword [esi + 0x1ac]
mov dword [ecx], eax
jmp 0x4f2e99
push dword [ebp + 8]
mov eax, dword [esp + 0x18]
lea edi, [esi + 0x19c]
push dword [ebp + 4]
push eax
push edi
call fcn.004f1550
add esp, 0x10
test eax, eax
je 0x4f2f06
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 8]
jne 0x4f2e77
push edi
call fcn.004f1ae0
add esp, 4
test al, al
je 0x4f2f06
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
mov byte [eax], 0
inc dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov edi, dword [esp + 0x10]
mov dword [ecx + edi*4], eax
lea ecx, [ecx + edi*4]
test eax, eax
je 0x4f2cf9
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x4f2ede
cmp byte [ebx + 9], 0
je 0x4f2ed1
push dword [esp + 0x48]
push dword [ecx]
push ebx
push eax
push esi
call fcn.004ec090
add esp, 0x14
test eax, eax
jne 0x4f363d
mov edi, dword [esp + 0x40]
jmp 0x4f2edf
mov eax, dword [ebx]
inc edi
inc dword [esp + 0x20]
mov byte [eax - 1], 2
jmp 0x4f2edf
inc edi
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
inc ebp
add ecx, 0x10
mov dword [esp + 0x10], edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], ecx
cmp ebp, dword [esp + 0x2c]
jge 0x4f2f4f
mov ebx, dword [esp + 0x14]
jmp 0x4f2d60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [ecx + eax*4], 0
jmp 0x4f2cf9
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x90]
jne 0x4f2f37
mov eax, dword [esi + 0x184]
add ebp, ebp
mov eax, dword [eax + ebp*8]
mov dword [esi + 0x11c], eax
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004b4f32
add esp, 0x7c
ret
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x17c], ebx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4f2fff
mov ecx, dword [ecx]
cmp byte [ecx - 1], 0
je 0x4f2fff
xor eax, eax
test ebx, ebx
jle 0x4f2f8c
nop
cmp dword [edx + eax*4], ecx
je 0x4f2ff7
add eax, 2
cmp eax, ebx
jl 0x4f2f80
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp dword [esp + 0x30], edi
jle 0x4f3055
xor ebp, ebp
nop
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx + ebp]
add ecx, ebp
mov edx, dword [eax]
cmp byte [edx - 1], 0
jne 0x4f2fe7
mov ebx, dword [ecx + 8]
mov dword [esp + 0x40], ebx
test ebx, ebx
je 0x4f2fe3
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4f3032
cmp byte [eax + 9], 0
je 0x4f300b
push dword [esp + 0x48]
push dword [esp + 0x44]
push eax
push ebx
push esi
call fcn.004ec090
add esp, 0x14
test eax, eax
jne 0x4f363d
mov ebx, dword [esp + 0x10]
inc edi
add ebp, 0xc
cmp edi, dword [esp + 0x30]
jge 0x4f3055
mov eax, dword [esp + 0x1c]
jmp 0x4f2fa0
mov dword [esi + 0x180], eax
jmp 0x4f2f8c
mov dword [esi + 0x180], 0xffffffff
jmp 0x4f2f90
mov ebx, dword [esp + 0x10]
inc dword [esp + 0x20]
mov byte [edx - 1], 2
mov eax, dword [ecx]
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [edx + ebx*4], eax
mov eax, dword [ecx + 8]
mov dword [edx + ebx*4 + 4], eax
add ebx, 2
mov dword [esp + 0x10], ebx
jmp 0x4f2fe7
mov ebx, dword [esp + 0x10]
mov byte [edx - 1], 1
mov eax, dword [ecx]
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [edx + ebx*4], eax
mov eax, dword [ecx + 8]
mov dword [edx + ebx*4 + 4], eax
add ebx, 2
mov dword [esp + 0x10], ebx
jmp 0x4f2fe7
mov eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x38], edx
mov dword [eax + ebx*4], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4f34a7
mov bl, byte [esi + 0x190]
add eax, eax
mov ebp, dword [esi + 0x18c]
mov edi, 1
movzx ecx, bl
shl edi, cl
sar eax, cl
mov dword [esp + 0x30], edi
test eax, eax
je 0x4f3108
mov edx, dword [esp + 0x20]
mov cl, bl
nop word [eax + eax]
mov eax, edx
sar eax, cl
inc cl
test eax, eax
jne 0x4f30a0
mov byte [esi + 0x190], cl
cmp cl, 3
jae 0x4f30be
mov byte [esi + 0x190], 3
mov cl, 3
mov edi, 1
shl edi, cl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x30], edi
lea eax, [edi + edi*2]
shl eax, 2
push eax
push dword [esi + 0x188]
call ecx
add esp, 8
test eax, eax
jne 0x4f3100
pop edi
mov byte [esi + 0x190], bl
mov eax, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004b4f32
add esp, 0x7c
ret
mov dword [esi + 0x188], eax
jmp 0x4f310c
test ebp, ebp
jne 0x4f3137
or ebp, 0xffffffff
mov edx, edi
test edi, edi
je 0x4f3135
lea ecx, [edi + edi*2]
shl ecx, 2
nop dword [eax + eax]
mov eax, dword [esi + 0x188]
lea ecx, [ecx - 0xc]
mov dword [ecx + eax], 0xffffffff
sub edx, 1
jne 0x4f3120
xor edx, edx
mov eax, dword [esp + 0x10]
dec ebp
mov dword [esp + 0x28], ebp
mov dword [esi + 0x18c], ebp
test eax, eax
jle 0x4f34c2
nop
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
mov dword [esp + 0x34], ecx
cmp byte [edi - 1], 2
jne 0x4f348b
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x4f317f
push eax
call fcn.004f0630
add esp, 4
mov ebx, eax
jmp 0x4f3185
mov ebx, dword [esi + 0x1ec]
xor edx, edx
mov dword [esp + 0x50], 0x70736575
mov eax, edx
mov dword [esp + 0x54], 0x736f6d65
xor eax, 0x646f7261
mov dword [esp + 0x60], 0x6e657261
mov dword [esp + 0x5c], eax
mov ecx, ebx
lea eax, [esp + 0x70]
mov dword [esp + 0x64], 0x6c796765
mov dword [esp + 0x78], eax
xor ecx, 0x6e646f6d
mov eax, dword [esp + 0x3c]
xor edx, 0x74656462
push 0
push edi
add eax, 0x28
mov dword [esp + 0x60], ecx
push eax
xorps xmm0, xmm0
mov dword [esp + 0x78], edx
xor ebx, 0x79746573
movlpd qword [esp + 0x8c], xmm0
push esi
mov dword [esp + 0x78], ebx
mov byte [edi - 1], 0
call fcn.004f0a40
add esp, 0x10
test eax, eax
je 0x4f2cf9
mov eax, dword [eax + 4]
test eax, eax
je 0x4f2cf9
mov ebp, dword [eax + 4]
mov dword [esp + 0x40], ebp
test ebp, ebp
je 0x4f34ff
mov eax, dword [ebp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x4f3279
mov ecx, dword [esi + 0x1a8]
nop
mov eax, dword [ebp + 0x10]
mov al, byte [ebx + eax]
mov byte [esp + 0x27], al
cmp ecx, dword [esi + 0x1a4]
jne 0x4f3259
lea eax, [esi + 0x19c]
push eax
call fcn.004f1ae0
add esp, 4
test al, al
je 0x4f2cf9
mov eax, dword [esi + 0x1a8]
inc ebx
mov cl, byte [esp + 0x27]
mov byte [eax], cl
inc dword [esi + 0x1a8]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x1a8]
cmp ebx, eax
jl 0x4f3230
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x58]
push eax
call fcn.004f2870
add esp, 0xc
nop word [eax + eax]
mov al, byte [edi]
inc edi
cmp al, 0x3a
jne 0x4f3290
xor eax, eax
cmp byte [edi], al
je 0x4f32a7
nop dword [eax]
inc eax
cmp byte [eax + edi], 0
jne 0x4f32a0
push eax
lea eax, [esp + 0x54]
push edi
push eax
call fcn.004f2870
mov ecx, dword [esi + 0x1a8]
add esp, 0xc
nop dword [eax]
cmp ecx, dword [esi + 0x1a4]
jne 0x4f32df
lea eax, [esi + 0x19c]
push eax
call fcn.004f1ae0
add esp, 4
test al, al
je 0x4f2cf9
mov ecx, dword [esi + 0x1a8]
mov al, byte [edi]
mov byte [ecx], al
inc dword [esi + 0x1a8]
mov al, byte [edi]
inc edi
mov ecx, dword [esi + 0x1a8]
test al, al
jne 0x4f32c0
lea eax, [esp + 0x50]
push eax
call fcn.004f2710
mov edx, dword [esp + 0x34]
mov ecx, eax
mov edi, dword [esi + 0x188]
dec edx
mov ebp, edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
and ebp, ecx
add esp, 4
mov dword [esp + 0x14], ecx
xor bl, bl
lea eax, [ebp*2]
add eax, ebp
cmp dword [edi + eax*4], edx
mov edx, dword [esp + 0x2c]
jne 0x4f33d2
nop
lea eax, [ebp*2]
add eax, ebp
cmp ecx, dword [edi + eax*4 + 4]
jne 0x4f3382
mov ecx, dword [esi + 0x1ac]
mov edx, dword [edi + eax*4 + 8]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4f3372
sub edx, ecx
test al, al
je 0x4f2f37
mov al, byte [ecx + 1]
inc ecx
cmp al, byte [edx + ecx]
je 0x4f3361
test al, al
je 0x4f2f37
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
test bl, bl
jne 0x4f33a0
mov ebx, edx
mov eax, edx
not ebx
shr eax, 2
and ebx, ecx
movzx ecx, byte [esi + 0x190]
dec ecx
shr ebx, cl
and bl, al
or bl, 1
mov eax, dword [esp + 0x30]
mov edx, ebp
movzx ecx, bl
sub edx, ecx
add eax, edx
cmp ebp, ecx
mov ecx, dword [esp + 0x28]
cmovge eax, edx
mov edx, dword [esp + 0x2c]
mov ebp, eax
lea eax, [ebp*2]
add eax, ebp
cmp dword [edi + eax*4], ecx
mov ecx, dword [esp + 0x14]
je 0x4f3340
cmp byte [esi + 0xe9], 0
je 0x4f3434
mov ecx, dword [esi + 0x1a8]
mov al, byte [esi + 0x1d4]
mov byte [ecx - 1], al
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x1a8]
mov eax, dword [eax]
mov edi, dword [eax]
cmp ecx, dword [esi + 0x1a4]
jne 0x4f3417
lea eax, [esi + 0x19c]
push eax
call fcn.004f1ae0
add esp, 4
test al, al
je 0x4f2cf9
mov ecx, dword [esi + 0x1a8]
mov al, byte [edi]
mov byte [ecx], al
inc dword [esi + 0x1a8]
mov al, byte [edi]
inc edi
mov ecx, dword [esi + 0x1a8]
test al, al
jne 0x4f33f8
mov edx, dword [esi + 0x1ac]
lea ecx, [ebp*2]
mov eax, dword [esi + 0x1a8]
add ecx, ebp
sub dword [esp + 0x20], 1
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov dword [esi + 0x1ac], eax
mov eax, dword [esp + 0x34]
mov dword [eax], edx
mov eax, dword [esi + 0x188]
mov dword [eax + ecx*4], ebx
mov eax, dword [esi + 0x188]
mov dword [eax + ecx*4 + 4], edi
mov eax, dword [esi + 0x188]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
je 0x4f34a0
mov eax, dword [esp + 0x10]
jmp 0x4f348f
mov byte [edi - 1], 0
add edx, 2
mov dword [esp + 0x38], edx
cmp edx, eax
jl 0x4f3150
jmp 0x4f34c2
mov ebx, dword [esp + 0x10]
add edx, 2
cmp edx, ebx
jge 0x4f34c2
mov esi, dword [esp + 0x18]
nop
mov eax, dword [esi + edx*4]
add edx, 2
mov byte [eax - 1], 0
cmp edx, ebx
jl 0x4f34b0
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
test ecx, ecx
je 0x4f34e0
nop dword [eax]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
mov byte [eax - 1], 0
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x4f34d0
cmp byte [esi + 0xe8], 0
je 0x4f363b
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4f3529
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4f3517
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004b4f32
add esp, 0x7c
ret
mov edx, dword [esp + 0x4c]
mov edi, dword [edx]
nop dword [eax]
mov al, byte [edi]
inc edi
cmp al, 0x3a
jne 0x4f3520
jmp 0x4f3541
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax + 0x9c]
test ebx, ebx
je 0x4f363b
mov edx, dword [esp + 0x4c]
mov edi, dword [edx]
xor ebp, ebp
cmp byte [esi + 0xe9], 0
je 0x4f355c
mov eax, dword [ebx]
mov ecx, dword [eax]
test ecx, ecx
je 0x4f355c
mov al, byte [ecx + ebp]
inc ebp
test al, al
jne 0x4f3554
mov dword [edx + 4], edi
xor ecx, ecx
mov eax, dword [ebx + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [edx + 8], eax
mov dword [edx + 0x14], ebp
mov al, byte [edi + ecx]
inc ecx
test al, al
jne 0x4f3571
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x3c], ecx
lea eax, [edx + ebp]
add eax, ecx
cmp eax, dword [ebx + 0x18]
jle 0x4f35fa
add eax, 0x18
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esi + 0xc]
call eax
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x4f2cf9
push dword [ebx + 0x14]
mov ecx, dword [esp + 0x48]
push dword [ebx + 0x10]
mov dword [ebx + 0x18], ecx
push eax
call fcn.004b6e60
mov ecx, dword [esi + 0x168]
add esp, 0xc
test ecx, ecx
je 0x4f35e1
mov edx, dword [esp + 0x34]
nop word [eax + eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebx + 0x10]
jne 0x4f35db
mov dword [ecx + 0xc], edx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4f35d0
push dword [ebx + 0x10]
mov eax, dword [esi + 0x14]
call eax
mov eax, dword [esp + 0x38]
add esp, 4
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x10]
push ecx
add eax, edx
push edi
push eax
mov dword [esp + 0x50], eax
call fcn.004b6e60
add esp, 0xc
test ebp, ebp
je 0x4f3631
mov ecx, dword [esp + 0x44]
add ecx, dword [esp + 0x3c]
mov al, byte [esi + 0x1d4]
push ebp
mov byte [ecx - 1], al
mov eax, dword [ebx]
push dword [eax]
push ecx
call fcn.004b6e60
add esp, 0xc
mov ebp, dword [esp + 0x4c]
mov eax, dword [ebx + 0x10]
mov dword [ebp], eax
xor eax, eax
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b4f32
add esp, 0x7c
ret