Function at 0x474ca0
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.00471a10
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x474d2e
push dword [ebx]
lea eax, [ebp + 0x50]
push eax
call fcn.004733c0
add esp, 8
test eax, eax
je 0x474d90
push 0x18
push eax
push edi
push esi
call fcn.00471a10
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
je 0x474d90
cmp byte [esi + 0xe8], 0
je 0x474d2e
push eax
push esi
call fcn.00474410
add esp, 8
test eax, eax
je 0x474d90
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 0x474dbe
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 0x474d9d
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 0x474dbe
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 0x474fb4
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.00470d60
mov edi, eax
add esp, 0x18
test edi, edi
je 0x474d90
mov eax, dword [edi]
cmp word [eax - 2], 0
jne 0x475006
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 0x474ece
cmp byte [edi + 8], 0
mov byte [esp + 0x38], 1
je 0x474e8f
xor ecx, ecx
cmp dword [esp + 0x28], ecx
jle 0x474e8f
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x14]
mov eax, edx
cmp edi, dword [eax]
je 0x474e84
inc ecx
add eax, 0xc
cmp ecx, dword [esp + 0x28]
jl 0x474e74
jmp 0x474e8f
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.00474c20
add esp, 0x18
test eax, eax
jne 0x4757b7
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 0x474f34
push dword [ebp + 8]
lea ebx, [esi + 0x19c]
push dword [ebp + 4]
mov ebp, dword [esp + 0x9c]
push ebp
push ebx
call fcn.00472f10
add esp, 0x10
test eax, eax
je 0x474fea
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x474f0c
push ebx
call fcn.00473840
add esp, 4
test al, al
je 0x474fea
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 0x474d90
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x474f87
cmp byte [edi + 9], 0
je 0x474f6f
push dword [esp + 0xa0]
push dword [ecx]
push edi
push eax
push esi
call fcn.0046c1b0
add esp, 0x14
test eax, eax
jne 0x4757b7
mov edx, dword [esp + 0x44]
jmp 0x474f8e
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 0x474f8e
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 0x474df0
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 0x475038
mov ecx, dword [ecx]
cmp word [ecx - 2], 0
je 0x475038
xor eax, eax
test ebx, ebx
jle 0x475032
cmp dword [edx + eax*4], ecx
je 0x47502c
add eax, 2
cmp eax, ebx
jl 0x474fd8
mov eax, dword [esp + 0x2c]
jmp 0x475042
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 0x47501f
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 0x475042
mov dword [esi + 0x180], 0xffffffff
xor edi, edi
test ebp, ebp
jle 0x4750ff
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 0x47509b
mov ebx, dword [ecx + 8]
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x475097
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x4750d7
cmp byte [eax + 9], 0
je 0x4750ab
push dword [esp + 0xa0]
push dword [esp + 0x48]
push eax
push ebx
push esi
call fcn.0046c1b0
add esp, 0x14
test eax, eax
jne 0x4757b7
mov ebx, dword [esp + 0x14]
inc edi
add ebp, 0xc
cmp edi, dword [esp + 0x28]
jge 0x4750ff
mov eax, dword [esp + 0x2c]
jmp 0x475050
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 0x47509b
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 0x47509b
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 0x4755f9
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 0x4751b9
mov cl, dl
nop dword [eax + eax]
mov eax, ebx
sar eax, cl
inc cl
test eax, eax
jne 0x475150
mov byte [esi + 0x190], cl
cmp cl, 3
jae 0x47516e
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 0x4751b5
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 0x4751cb
mov eax, dword [esp + 0x28]
lea ebx, [esi + 0x188]
mov dword [esp + 0x20], ebx
test eax, eax
jne 0x4751f9
or eax, 0xffffffff
mov edx, ebp
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x4751f9
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 0x4751e4
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 0x475618
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 0x4755d3
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x47523f
push eax
call fcn.00471360
add esp, 4
mov ebx, eax
jmp 0x475245
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.00471a10
add esp, 0x10
test eax, eax
je 0x474d90
mov eax, dword [eax + 4]
test eax, eax
je 0x474d90
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x475656
mov eax, dword [ecx + 0x14]
xor ebx, ebx
test eax, eax
jle 0x475350
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 0x47532a
lea eax, [esi + 0x19c]
push eax
call fcn.00473840
add esp, 4
test al, al
je 0x474d90
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 0x4752f0
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.00474680
add esp, 0xc
nop word [eax + eax]
mov ax, word [edi]
add edi, 2
cmp ax, 0x3a
jne 0x475370
xor ecx, ecx
mov eax, edi
cmp word [edi], cx
je 0x47538f
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x475385
lea eax, [ecx + ecx]
push eax
lea eax, [esp + 0x58]
push edi
push eax
call fcn.00474680
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 0x4753db
lea eax, [esi + 0x19c]
push eax
call fcn.00473840
add esp, 4
test al, al
je 0x474d90
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 0x4753b0
lea eax, [esp + 0x54]
push eax
call fcn.00474510
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 0x475585
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 0x4754b0
mov ecx, dword [esi + 0x1ac]
mov ebp, dword [edx + eax*4 + 8]
movzx eax, word [ecx]
mov edi, eax
cmp ax, word [ebp]
jne 0x47549f
mov edx, eax
sub ebp, ecx
movzx edi, dx
test dx, dx
je 0x47549f
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
mov edi, eax
cmp ax, word [ecx + ebp]
je 0x475486
test di, di
je 0x47501f
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
test bl, bl
jne 0x4754d0
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 0x475460
mov edx, dword [esp + 0x20]
cmp byte [esi + 0xe9], 0
je 0x47558e
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 0x475557
lea eax, [esi + 0x19c]
push eax
call fcn.00473840
add esp, 4
test al, al
je 0x474d90
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 0x475530
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
jmp 0x475592
mov ebp, dword [esp + 0x1c]
jmp 0x475501
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 0x4755ee
mov eax, dword [esp + 0x14]
jmp 0x4755d9
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 0x475210
jmp 0x475618
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
add edi, 2
cmp edi, ebx
jge 0x475618
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 0x475601
mov esi, dword [esp + 0x90]
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax]
test ecx, ecx
je 0x475637
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 0x475625
cmp byte [esi + 0xe8], 0
je 0x4757b5
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x47567e
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x475663
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 0x475670
jmp 0x47569a
mov eax, dword [esp + 0x48]
mov ebx, dword [eax + 0x9c]
test ebx, ebx
je 0x4757b5
mov ebp, dword [esp + 0x9c]
mov edi, dword [ebp]
xor edx, edx
mov dword [esp + 0x44], edx
cmp byte [esi + 0xe9], dl
je 0x4756c0
mov eax, dword [ebx]
mov ecx, dword [eax]
test ecx, ecx
je 0x4756c0
mov ax, word [ecx]
lea ecx, [ecx + 2]
inc edx
test ax, ax
jne 0x4756b0
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 0x4756e0
mov eax, dword [ebx + 0x14]
add eax, edx
add eax, ebp
cmp eax, dword [ebx + 0x18]
jle 0x475765
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 0x474d90
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.00424ca0
mov ecx, dword [esi + 0x168]
add esp, 0xc
test ecx, ecx
je 0x475753
mov edx, dword [esp + 0x48]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ebx + 0x10]
jne 0x47574d
mov dword [ecx + 0xc], edx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x475742
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.00424ca0
mov edx, dword [esp + 0x50]
add esp, 0xc
test edx, edx
je 0x4757a9
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.00424ca0
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