Function at 0x48faf0
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.00491f70
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x48fb7e
push dword [ebx]
lea eax, [ebp + 0x50]
push eax
call fcn.004927a0
add esp, 8
test eax, eax
je 0x48fbe0
push 0x18
push eax
push edi
push esi
call fcn.00491f70
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
je 0x48fbe0
cmp byte [esi + 0xe8], 0
je 0x48fb7e
push eax
push esi
call fcn.00490f40
add esp, 8
test eax, eax
je 0x48fbe0
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 0x48fc0e
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 0x48fbed
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 0x48fc0e
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 0x48fe04
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.00490d20
mov edi, eax
add esp, 0x18
test edi, edi
je 0x48fbe0
mov eax, dword [edi]
cmp word [eax - 2], 0
jne 0x48fe56
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 0x48fd1e
cmp byte [edi + 8], 0
mov byte [esp + 0x38], 1
je 0x48fcdf
xor ecx, ecx
cmp dword [esp + 0x28], ecx
jle 0x48fcdf
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x14]
mov eax, edx
cmp edi, dword [eax]
je 0x48fcd4
inc ecx
add eax, 0xc
cmp ecx, dword [esp + 0x28]
jl 0x48fcc4
jmp 0x48fcdf
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.00490840
add esp, 0x18
test eax, eax
jne 0x490607
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 0x48fd84
push dword [ebp + 8]
lea ebx, [esi + 0x19c]
push dword [ebp + 4]
mov ebp, dword [esp + 0x9c]
push ebp
push ebx
call fcn.00492310
add esp, 0x10
test eax, eax
je 0x48fe3a
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x48fd5c
push ebx
call fcn.00492590
add esp, 4
test al, al
je 0x48fe3a
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 0x48fbe0
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x48fdd7
cmp byte [edi + 9], 0
je 0x48fdbf
push dword [esp + 0xa0]
push dword [ecx]
push edi
push eax
push esi
call fcn.00490610
add esp, 0x14
test eax, eax
jne 0x490607
mov edx, dword [esp + 0x44]
jmp 0x48fdde
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 0x48fdde
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 0x48fc40
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 0x48fe88
mov ecx, dword [ecx]
cmp word [ecx - 2], 0
je 0x48fe88
xor eax, eax
test ebx, ebx
jle 0x48fe82
cmp dword [edx + eax*4], ecx
je 0x48fe7c
add eax, 2
cmp eax, ebx
jl 0x48fe28
mov eax, dword [esp + 0x2c]
jmp 0x48fe92
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 0x48fe6f
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 0x48fe92
mov dword [esi + 0x180], 0xffffffff
xor edi, edi
test ebp, ebp
jle 0x48ff4f
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 0x48feeb
mov ebx, dword [ecx + 8]
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x48fee7
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x48ff27
cmp byte [eax + 9], 0
je 0x48fefb
push dword [esp + 0xa0]
push dword [esp + 0x48]
push eax
push ebx
push esi
call fcn.00490610
add esp, 0x14
test eax, eax
jne 0x490607
mov ebx, dword [esp + 0x14]
inc edi
add ebp, 0xc
cmp edi, dword [esp + 0x28]
jge 0x48ff4f
mov eax, dword [esp + 0x2c]
jmp 0x48fea0
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 0x48feeb
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 0x48feeb
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 0x490449
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 0x490009
mov cl, dl
nop dword [eax + eax]
mov eax, ebx
sar eax, cl
inc cl
test eax, eax
jne 0x48ffa0
mov byte [esi + 0x190], cl
cmp cl, 3
jae 0x48ffbe
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 0x490005
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 0x49001b
mov eax, dword [esp + 0x28]
lea ebx, [esi + 0x188]
mov dword [esp + 0x20], ebx
test eax, eax
jne 0x490049
or eax, 0xffffffff
mov edx, ebp
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x490049
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 0x490034
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 0x490468
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 0x490423
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x49008f
push eax
call fcn.004934d0
add esp, 4
mov ebx, eax
jmp 0x490095
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.00491f70
add esp, 0x10
test eax, eax
je 0x48fbe0
mov eax, dword [eax + 4]
test eax, eax
je 0x48fbe0
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x4904a6
mov eax, dword [ecx + 0x14]
xor ebx, ebx
test eax, eax
jle 0x4901a0
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 0x49017a
lea eax, [esi + 0x19c]
push eax
call fcn.00492590
add esp, 4
test al, al
je 0x48fbe0
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 0x490140
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.0048bf00
add esp, 0xc
nop word [eax + eax]
mov ax, word [edi]
add edi, 2
cmp ax, 0x3a
jne 0x4901c0
xor ecx, ecx
mov eax, edi
cmp word [edi], cx
je 0x4901df
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x4901d5
lea eax, [ecx + ecx]
push eax
lea eax, [esp + 0x58]
push edi
push eax
call fcn.0048bf00
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 0x49022b
lea eax, [esi + 0x19c]
push eax
call fcn.00492590
add esp, 4
test al, al
je 0x48fbe0
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 0x490200
lea eax, [esp + 0x54]
push eax
call fcn.0048c010
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 0x4903d5
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 0x490300
mov ecx, dword [esi + 0x1ac]
mov ebp, dword [edx + eax*4 + 8]
movzx eax, word [ecx]
mov edi, eax
cmp ax, word [ebp]
jne 0x4902ef
mov edx, eax
sub ebp, ecx
movzx edi, dx
test dx, dx
je 0x4902ef
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
mov edi, eax
cmp ax, word [ecx + ebp]
je 0x4902d6
test di, di
je 0x48fe6f
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
test bl, bl
jne 0x490320
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 0x4902b0
mov edx, dword [esp + 0x20]
cmp byte [esi + 0xe9], 0
je 0x4903de
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 0x4903a7
lea eax, [esi + 0x19c]
push eax
call fcn.00492590
add esp, 4
test al, al
je 0x48fbe0
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 0x490380
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
jmp 0x4903e2
mov ebp, dword [esp + 0x1c]
jmp 0x490351
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 0x49043e
mov eax, dword [esp + 0x14]
jmp 0x490429
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 0x490060
jmp 0x490468
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
add edi, 2
cmp edi, ebx
jge 0x490468
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 0x490451
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax]
test ecx, ecx
je 0x490487
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 0x490475
cmp byte [esi + 0xe8], 0
je 0x490605
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4904ce
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x4904b3
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 0x4904c0
jmp 0x4904ea
mov eax, dword [esp + 0x48]
mov ebx, dword [eax + 0x9c]
test ebx, ebx
je 0x490605
mov ebp, dword [esp + 0x9c]
mov edi, dword [ebp]
xor edx, edx
mov dword [esp + 0x44], edx
cmp byte [esi + 0xe9], dl
je 0x490510
mov eax, dword [ebx]
mov ecx, dword [eax]
test ecx, ecx
je 0x490510
mov ax, word [ecx]
lea ecx, [ecx + 2]
inc edx
test ax, ax
jne 0x490500
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 0x490530
mov eax, dword [ebx + 0x14]
add eax, edx
add eax, ebp
cmp eax, dword [ebx + 0x18]
jle 0x4905b5
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 0x48fbe0
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.004adfa0
mov ecx, dword [esi + 0x168]
add esp, 0xc
test ecx, ecx
je 0x4905a3
mov edx, dword [esp + 0x48]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebx + 0x10]
jne 0x49059d
mov dword [ecx + 0xc], edx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x490592
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.004adfa0
mov edx, dword [esp + 0x50]
add esp, 0xc
test edx, edx
je 0x4905f9
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.004adfa0
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