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

Disassembly:
sub esp, 0x7c
push ebx
mov ebx, dword [esp + 0x90]
push ebp
push esi
mov esi, dword [esp + 0x8c]
push edi
push 0
push dword [ebx]
mov ebp, dword [esi + 0x160]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0
lea edi, [ebp + 0x14]
push edi
push esi
call fcn.00491bf0
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x48f7fe
push dword [ebx]
lea eax, [ebp + 0x50]
push eax
call fcn.00492420
add esp, 8
test eax, eax
je 0x48f860
push 0x18
push eax
push edi
push esi
call fcn.00491bf0
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
je 0x48f860
cmp byte [esi + 0xe8], 0
je 0x48f7fe
push eax
push esi
call fcn.00490bc0
add esp, 8
test eax, eax
je 0x48f860
mov eax, dword [esp + 0x2c]
push dword [esi + 0x184]
mov ebp, dword [eax + 0xc]
push dword [esi + 0x178]
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0xa0]
push ebx
push eax
mov eax, dword [eax + 0x24]
mov dword [esp + 0x38], ebp
call eax
mov edi, dword [esi + 0x178]
mov ecx, eax
mov dword [esp + 0x30], ecx
add esp, 0x10
add ecx, ebp
cmp ecx, edi
jle 0x48f88e
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 0x48f86d
mov dword [esi + 0x178], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x7c
ret
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x184], eax
cmp ecx, edi
jle 0x48f88e
push eax
mov eax, dword [esp + 0x98]
push ecx
push ebx
push eax
mov eax, dword [eax + 0x24]
call eax
add esp, 0x10
mov edx, dword [esi + 0x184]
xor ebx, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x20], ebx
jle 0x48fa84
mov ebp, dword [esp + 0x94]
xor ecx, ecx
mov dword [esp + 0x30], ecx
xor edx, edx
nop word [eax + eax]
mov eax, dword [esi + 0x184]
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], edx
mov edi, dword [eax + ecx]
mov eax, dword [ebp + 0x1c]
push edi
push ebp
call eax
add eax, edi
push eax
push edi
push ebp
push esi
call fcn.004909a0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x48f860
mov eax, dword [edi]
cmp word [eax - 2], 0
jne 0x48fad6
mov edx, dword [esp + 0x18]
mov ecx, 1
mov ebp, dword [esp + 0x30]
mov word [eax - 2], cx
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov dword [edx + ecx*4], eax
inc ecx
add ebp, dword [esi + 0x184]
mov dword [esp + 0x14], ecx
cmp byte [ebp + 0xc], 0
jne 0x48f99e
cmp byte [edi + 8], 0
mov byte [esp + 0x38], 1
je 0x48f95f
xor ecx, ecx
cmp dword [esp + 0x28], ecx
jle 0x48f95f
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x14]
mov eax, edx
cmp edi, dword [eax]
je 0x48f954
inc ecx
add eax, 0xc
cmp ecx, dword [esp + 0x28]
jl 0x48f944
jmp 0x48f95f
lea eax, [ecx + ecx*2]
mov al, byte [edx + eax*4 + 4]
mov byte [esp + 0x38], al
lea eax, [esi + 0x19c]
push eax
push dword [ebp + 8]
push dword [ebp + 4]
mov ebp, dword [esp + 0xa0]
push dword [esp + 0x44]
push ebp
push esi
call fcn.004904c0
add esp, 0x18
test eax, eax
jne 0x490287
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea ecx, [eax + ecx*4]
mov eax, dword [esi + 0x1ac]
mov dword [ecx], eax
jmp 0x48fa04
push dword [ebp + 8]
lea ebx, [esi + 0x19c]
push dword [ebp + 4]
mov ebp, dword [esp + 0x9c]
push ebp
push ebx
call fcn.00491f90
add esp, 0x10
test eax, eax
je 0x48faba
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x48f9dc
push ebx
call fcn.00492210
add esp, 4
test al, al
je 0x48faba
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov edx, dword [esp + 0x18]
mov word [eax], cx
mov ecx, dword [esp + 0x14]
add dword [ebx + 0xc], 2
lea ecx, [edx + ecx*4]
mov eax, dword [ebx + 0x10]
mov dword [ecx], eax
test eax, eax
je 0x48f860
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x48fa57
cmp byte [edi + 9], 0
je 0x48fa3f
push dword [esp + 0xa0]
push dword [ecx]
push edi
push eax
push esi
call fcn.00490290
add esp, 0x14
test eax, eax
jne 0x490287
mov edx, dword [esp + 0x44]
jmp 0x48fa5e
mov eax, dword [edi]
mov ecx, 2
mov edx, dword [esp + 0x34]
add edx, 2
inc dword [esp + 0x24]
mov word [eax - 2], cx
jmp 0x48fa5e
mov edx, dword [esp + 0x34]
add edx, 2
mov ecx, dword [esp + 0x30]
inc ebx
add ecx, 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ecx
cmp ebx, dword [esp + 0x20]
jl 0x48f8c0
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov dword [esi + 0x17c], ebx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x48fb08
mov ecx, dword [ecx]
cmp word [ecx - 2], 0
je 0x48fb08
xor eax, eax
test ebx, ebx
jle 0x48fb02
cmp dword [edx + eax*4], ecx
je 0x48fafc
add eax, 2
cmp eax, ebx
jl 0x48faa8
mov eax, dword [esp + 0x2c]
jmp 0x48fb12
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [eax + ecx*4], 0
mov eax, 1
pop ebx
add esp, 0x7c
ret
cmp ebp, dword [esi + 0x90]
jne 0x48faef
mov eax, dword [esi + 0x184]
add ebx, ebx
mov eax, dword [eax + ebx*8]
mov dword [esi + 0x11c], eax
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x7c
ret
mov dword [esi + 0x180], eax
mov eax, dword [esp + 0x2c]
jmp 0x48fb12
mov dword [esi + 0x180], 0xffffffff
xor edi, edi
test ebp, ebp
jle 0x48fbcf
xor ebp, ebp
nop
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx + ebp]
add ecx, ebp
mov edx, dword [eax]
cmp word [edx - 2], 0
jne 0x48fb6b
mov ebx, dword [ecx + 8]
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x48fb67
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x48fba7
cmp byte [eax + 9], 0
je 0x48fb7b
push dword [esp + 0xa0]
push dword [esp + 0x48]
push eax
push ebx
push esi
call fcn.00490290
add esp, 0x14
test eax, eax
jne 0x490287
mov ebx, dword [esp + 0x14]
inc edi
add ebp, 0xc
cmp edi, dword [esp + 0x28]
jge 0x48fbcf
mov eax, dword [esp + 0x2c]
jmp 0x48fb20
mov ebx, dword [esp + 0x14]
mov eax, 2
inc dword [esp + 0x24]
mov word [edx - 2], ax
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 + 0x14], ebx
jmp 0x48fb6b
mov ebx, dword [esp + 0x14]
mov eax, 1
mov word [edx - 2], ax
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 + 0x14], ebx
jmp 0x48fb6b
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [eax + ebx*4], 0
cmp dword [esp + 0x24], edi
je 0x4900c9
mov ebx, dword [esp + 0x24]
mov ebp, 1
mov eax, dword [esi + 0x18c]
mov dl, byte [esi + 0x190]
mov dword [esp + 0x28], eax
movzx ecx, dl
lea eax, [ebx + ebx]
shl ebp, cl
sar eax, cl
mov byte [esp + 0x13], dl
mov dword [esp + 0x1c], ebp
test eax, eax
je 0x48fc89
mov cl, dl
nop dword [eax + eax]
mov eax, ebx
sar eax, cl
inc cl
test eax, eax
jne 0x48fc20
mov byte [esi + 0x190], cl
cmp cl, 3
jae 0x48fc3e
mov byte [esi + 0x190], 3
mov cl, 3
mov ebp, 1
lea ebx, [esi + 0x188]
shl ebp, cl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
lea eax, [ebp*2]
add eax, ebp
shl eax, 2
push eax
push dword [ebx]
call ecx
add esp, 8
test eax, eax
jne 0x48fc85
mov cl, byte [esp + 0x13]
mov eax, 1
pop edi
mov byte [esi + 0x190], cl
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
mov dword [ebx], eax
jmp 0x48fc9b
mov eax, dword [esp + 0x28]
lea ebx, [esi + 0x188]
mov dword [esp + 0x20], ebx
test eax, eax
jne 0x48fcc9
or eax, 0xffffffff
mov edx, ebp
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x48fcc9
lea ecx, [ebp*2]
add ecx, ebp
shl ecx, 2
mov eax, dword [ebx]
lea ecx, [ecx - 0xc]
mov dword [ecx + eax], 0xffffffff
sub edx, 1
jne 0x48fcb4
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
mov dword [esi + 0x18c], eax
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4900e8
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + edi*4]
mov edi, dword [ecx]
mov dword [esp + 0x50], ecx
cmp word [edi - 2], 2
jne 0x4900a3
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x48fd0f
push eax
call fcn.00493150
add esp, 4
mov ebx, eax
jmp 0x48fd15
mov ebx, dword [esi + 0x1ec]
xor edx, edx
mov dword [esp + 0x54], 0x70736575
mov eax, edx
mov dword [esp + 0x58], 0x736f6d65
xor eax, 0x646f7261
mov dword [esp + 0x64], 0x6e657261
mov dword [esp + 0x60], eax
mov ecx, ebx
lea eax, [esp + 0x74]
mov dword [esp + 0x68], 0x6c796765
mov dword [esp + 0x7c], eax
xor ecx, 0x6e646f6d
xor eax, eax
mov dword [esp + 0x5c], ecx
push eax
mov word [edi - 2], ax
xor edx, 0x74656462
mov eax, dword [esp + 0x4c]
xorps xmm0, xmm0
push edi
add eax, 0x28
mov dword [esp + 0x78], edx
push eax
xor ebx, 0x79746573
movlpd qword [esp + 0x90], xmm0
push esi
mov dword [esp + 0x7c], ebx
call fcn.00491bf0
add esp, 0x10
test eax, eax
je 0x48f860
mov eax, dword [eax + 4]
test eax, eax
je 0x48f860
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x490126
mov eax, dword [ecx + 0x14]
xor ebx, ebx
test eax, eax
jle 0x48fe20
mov edx, dword [esp + 0x20]
nop
mov eax, dword [esp + 0x1c]
mov ebp, edx
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x10]
movzx eax, word [eax + ebx*2]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1a4]
jne 0x48fdfa
lea eax, [esi + 0x19c]
push eax
call fcn.00492210
add esp, 4
test al, al
je 0x48f860
mov eax, dword [esi + 0x1a8]
inc ebx
mov ecx, dword [esp + 0x40]
mov edx, ebp
mov word [eax], cx
mov ecx, dword [esp + 0x44]
add dword [esi + 0x1a8], 2
mov eax, dword [ecx + 0x14]
cmp ebx, eax
jl 0x48fdc0
mov dword [esp + 0x20], ebp
mov ebx, dword [esp + 0x1c]
add eax, eax
push eax
push dword [ecx + 0x10]
lea eax, [esp + 0x5c]
push eax
call fcn.0048bb80
add esp, 0xc
nop word [eax + eax]
mov ax, word [edi]
add edi, 2
cmp ax, 0x3a
jne 0x48fe40
xor ecx, ecx
mov eax, edi
cmp word [edi], cx
je 0x48fe5f
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x48fe55
lea eax, [ecx + ecx]
push eax
lea eax, [esp + 0x58]
push edi
push eax
call fcn.0048bb80
mov ecx, dword [esp + 0x2c]
add esp, 0xc
nop word [eax + eax]
mov eax, dword [esi + 0x1a8]
mov ebp, ecx
mov dword [esp + 0x3c], ebx
cmp eax, dword [esi + 0x1a4]
jne 0x48feab
lea eax, [esi + 0x19c]
push eax
call fcn.00492210
add esp, 4
test al, al
je 0x48f860
mov ecx, dword [esi + 0x1a8]
movzx eax, word [edi]
mov word [ecx], ax
mov ecx, ebp
add dword [esi + 0x1a8], 2
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x48fe80
lea eax, [esp + 0x54]
push eax
call fcn.0048bc90
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x34], eax
xor bl, bl
mov dword [esp + 0x1c], ecx
mov edx, ebp
mov dword [esp + 0x20], edx
lea edi, [ecx - 1]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], edi
and edi, eax
mov eax, dword [ebp]
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], eax
lea eax, [edi + edi*2]
mov edi, dword [ebp]
cmp dword [edi + eax*4], ecx
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
jne 0x490055
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
nop word [eax + eax]
mov ecx, dword [esp + 0x34]
lea eax, [edi + edi*2]
cmp ecx, dword [edx + eax*4 + 4]
jne 0x48ff80
mov ecx, dword [esi + 0x1ac]
mov ebp, dword [edx + eax*4 + 8]
movzx eax, word [ecx]
mov edi, eax
cmp ax, word [ebp]
jne 0x48ff6f
mov edx, eax
sub ebp, ecx
movzx edi, dx
test dx, dx
je 0x48ff6f
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
mov edi, eax
cmp ax, word [ecx + ebp]
je 0x48ff56
test di, di
je 0x48faef
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
test bl, bl
jne 0x48ffa0
mov eax, dword [esp + 0x4c]
mov ebx, eax
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 ebp, dword [esp + 0x1c]
mov edx, edi
movzx ecx, bl
sub edx, ecx
cmp edi, ecx
mov ecx, dword [esp + 0x28]
lea eax, [edx + ebp]
cmovge eax, edx
mov edx, dword [esp + 0x40]
mov edi, eax
mov dword [esp + 0x30], edi
lea eax, [edi + edi*2]
cmp dword [edx + eax*4], ecx
je 0x48ff30
mov edx, dword [esp + 0x20]
cmp byte [esi + 0xe9], 0
je 0x49005e
mov ecx, dword [esi + 0x1a8]
mov ax, word [esi + 0x1d4]
mov word [ecx - 2], ax
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov edi, dword [eax]
nop word [eax + eax]
mov eax, dword [esi + 0x1a8]
mov ebx, edx
cmp eax, dword [esi + 0x1a4]
jne 0x490027
lea eax, [esi + 0x19c]
push eax
call fcn.00492210
add esp, 4
test al, al
je 0x48f860
mov ecx, dword [esi + 0x1a8]
mov edx, ebx
movzx eax, word [edi]
mov word [ecx], ax
add dword [esi + 0x1a8], 2
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x490000
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
jmp 0x490062
mov ebp, dword [esp + 0x1c]
jmp 0x48ffd1
mov ebx, dword [esp + 0x20]
sub dword [esp + 0x24], 1
lea ecx, [edi + edi*2]
mov eax, dword [esi + 0x1a8]
mov edx, dword [esi + 0x1ac]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
mov dword [esi + 0x1ac], eax
mov eax, dword [esp + 0x50]
mov dword [eax], edx
mov eax, dword [ebx]
mov dword [eax + ecx*4], ebp
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 4], edi
mov eax, dword [ebx]
mov dword [eax + ecx*4 + 8], edx
je 0x4900be
mov eax, dword [esp + 0x14]
jmp 0x4900a9
xor ecx, ecx
mov word [edi - 2], cx
mov edi, dword [esp + 0x38]
add edi, 2
mov dword [esp + 0x38], edi
cmp edi, eax
jl 0x48fce0
jmp 0x4900e8
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
add edi, 2
cmp edi, ebx
jge 0x4900e8
mov esi, dword [esp + 0x18]
mov eax, dword [esi + edi*4]
xor ecx, ecx
add edi, 2
mov word [eax - 2], cx
cmp edi, ebx
jl 0x4900d1
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax]
test ecx, ecx
je 0x490107
mov eax, dword [ecx + 0xc]
xor edx, edx
mov eax, dword [eax]
mov word [eax - 2], dx
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x4900f5
cmp byte [esi + 0xe8], 0
je 0x490285
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x49014e
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x490133
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x7c
ret
mov ebp, dword [esp + 0x9c]
mov edi, dword [ebp]
nop dword [eax]
mov ax, word [edi]
add edi, 2
cmp ax, 0x3a
jne 0x490140
jmp 0x49016a
mov eax, dword [esp + 0x48]
mov ebx, dword [eax + 0x9c]
test ebx, ebx
je 0x490285
mov ebp, dword [esp + 0x9c]
mov edi, dword [ebp]
xor edx, edx
mov dword [esp + 0x44], edx
cmp byte [esi + 0xe9], dl
je 0x490190
mov eax, dword [ebx]
mov ecx, dword [eax]
test ecx, ecx
je 0x490190
mov ax, word [ecx]
lea ecx, [ecx + 2]
inc edx
test ax, ax
jne 0x490180
mov dword [esp + 0x44], edx
mov dword [ebp + 4], edi
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x10], eax
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov dword [ebp + 0x14], edx
xor ebp, ebp
nop word [eax + eax]
lea eax, [ebp*2]
inc ebp
cmp word [eax + edi], 0
jne 0x4901b0
mov eax, dword [ebx + 0x14]
add eax, edx
add eax, ebp
cmp eax, dword [ebx + 0x18]
jle 0x490235
add eax, 0x18
mov dword [esp + 0x50], eax
add eax, eax
push eax
mov eax, dword [esi + 0xc]
call eax
mov ecx, eax
add esp, 4
mov dword [esp + 0x48], ecx
test ecx, ecx
je 0x48f860
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
add eax, eax
push eax
push dword [ebx + 0x10]
push ecx
call fcn.004adc20
mov ecx, dword [esi + 0x168]
add esp, 0xc
test ecx, ecx
je 0x490223
mov edx, dword [esp + 0x48]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebx + 0x10]
jne 0x49021d
mov dword [ecx + 0xc], edx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x490212
push dword [ebx + 0x10]
mov eax, dword [esi + 0x14]
call eax
mov eax, dword [esp + 0x4c]
add esp, 4
mov dword [ebx + 0x10], eax
mov ecx, dword [ebx + 0x14]
add ebp, ebp
mov eax, dword [ebx + 0x10]
push ebp
push edi
lea eax, [eax + ecx*2]
push eax
mov dword [esp + 0x5c], eax
call fcn.004adc20
mov edx, dword [esp + 0x50]
add esp, 0xc
test edx, edx
je 0x490279
mov ecx, dword [esp + 0x50]
mov ax, word [esi + 0x1d4]
add ecx, ebp
mov word [ecx - 2], ax
lea eax, [edx + edx]
push eax
mov eax, dword [ebx]
push dword [eax]
push ecx
call fcn.004adc20
add esp, 0xc
mov eax, dword [ebx + 0x10]
mov ebx, dword [esp + 0x9c]
mov dword [ebx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret