Function at 0x57bd40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4244
call fcn.0043cba0
movsx eax, byte [0xd9e35c]
push ebx
xor ebx, ebx
sub eax, ebx
push esi
push edi
mov dword [esp + 0x28], 0x2d0031
mov dword [esp + 0x2c], 0x2d0032
mov dword [esp + 0x30], 0x2d0033
mov dword [esp + 0x34], 0x2d0034
mov dword [esp + 0x38], 0x2d0035
je 0x57beb1
dec eax
jne 0x57c7e0
mov eax, dword [0xd9e358]
cmp eax, ebx
je 0x57bdaa
push eax
call fcn.00860db0
mov eax, dword [0xd9e358]
add esp, 4
mov cx, word [0xd9e360]
cmp cx, 0x78
jne 0x57be82
xor eax, eax
mov byte [esp + 0x250], bl
mov ecx, 0x1ff
lea edi, [esp + 0x251]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [esp + 0x150], bl
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x151]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.008386b0
mov eax, dword [eax + 0x18]
push eax
lea ecx, [esp + 0x154]
push str._d_WEN
push ecx
call fcn.0043bcd5
lea eax, [esp + 0x15c]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x57be26
lea edi, [esp + 0x250]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x57be37
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x1c]
push eax
and ecx, 3
push 7
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0xd9e358]
lea edx, [esp + 0x258]
push 1
push ecx
mov dword [esp + 0x30], edx
call fcn.00861690
add esp, 0x10
inc word [0xd9e360]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp cx, 0xf0
jne 0x57be72
push eax
call fcn.0085f890
add esp, 4
mov dword [0xd9e358], ebx
mov byte [0xd9e35c], bl
mov word [0xd9e360], bx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, 0x35
lea edi, [esp + 0x7c]
mov dword [esp + 0x78], ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x10], eax
xor eax, eax
mov byte [esp + 0x250], bl
mov ecx, 0x1ff
lea edi, [esp + 0x251]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x2250], bl
mov ecx, 0x1ff
lea edi, [esp + 0x2251]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x3250], bl
mov ecx, 0x1ff
lea edi, [esp + 0x3251]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0xa50], bl
mov ecx, 0x1ff
lea edi, [esp + 0xa51]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x1250], bl
mov ecx, 0x1ff
lea edi, [esp + 0x1251]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x1a50], bl
mov ecx, 0x1ff
lea edi, [esp + 0x1a51]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x3a50], bl
mov ecx, 0x1ff
lea edi, [esp + 0x3a51]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [ebp + 0x14]
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x2a50], bl
mov ecx, 0x1ff
lea edi, [esp + 0x2a51]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x150], bl
mov ecx, 0x3f
lea edi, [esp + 0x151]
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], 0x43d20000
mov dword [esp + 0x18], 0x43e00000
stosw word es:[edi], ax
mov esi, dword [ebp + 8]
stosb byte es:[edi], al
call fcn.0057ba50
test eax, eax
jne 0x57c000
mov edi, 0x4e
mov dword [ebp + 8], edi
jmp 0x57c003
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
call fcn.0057ba50
test eax, eax
jne 0x57c016
mov dword [ebp + 0xc], 0x4e
mov esi, dword [ebp + 0x10]
call fcn.0057ba50
test eax, eax
mov eax, 0x4e
jne 0x57c02a
mov dword [ebp + 0x10], eax
cmp edi, eax
jne 0x57c03c
cmp dword [ebp + 0xc], eax
jne 0x57c03c
cmp dword [ebp + 0x10], eax
je 0x57bea5
call fcn.008386b0
mov ecx, dword [eax + 0x18]
mov dword [0xd9e364], ecx
call fcn.008386b0
cmp byte [eax + 0xe], bl
jne 0x57c0ea
cmp edi, 0x4e
je 0x57c07b
call fcn.008386b0
movsx edx, word [edi*2 + 0x90fcc8]
mov ecx, dword [eax + 0x18]
add eax, 0x18
add ecx, edx
mov esi, edi
mov dword [eax], ecx
call fcn.0057ba00
cmp dword [ebp + 0xc], 0x4e
je 0x57c0a0
call fcn.008386b0
mov esi, dword [ebp + 0xc]
movsx ecx, word [esi*2 + 0x90fcc8]
mov edx, dword [eax + 0x18]
add eax, 0x18
add edx, ecx
mov dword [eax], edx
call fcn.0057ba00
cmp dword [ebp + 0x10], 0x4e
je 0x57c0c5
call fcn.008386b0
mov esi, dword [ebp + 0x10]
movsx edx, word [esi*2 + 0x90fcc8]
mov ecx, dword [eax + 0x18]
add eax, 0x18
add ecx, edx
mov dword [eax], ecx
call fcn.0057ba00
call fcn.008386b0
mov ecx, dword [eax + 0x18]
mov esi, 0x1869f
cmp ecx, esi
jle 0x57c0de
call fcn.008386b0
mov dword [eax + 0x18], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x4e
je 0x57c224
call fcn.008386b0
movsx ecx, word [edi*2 + 0x90fcc8]
mov edx, dword [eax + 0x18]
add eax, 0x18
add edx, ecx
mov esi, edi
mov dword [eax], edx
call fcn.0057ba00
mov edx, dword [edi*4 + 0x90fd68]
push edx
call fcn.0085ce30
add esp, 4
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x57c123
lea edi, [esp + 0x250]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x57c134
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
cmp eax, 0x1c
rep movsb byte es:[edi], byte [esi]
jl 0x57c1b9
cmp eax, 0x44
jge 0x57c1b9
lea edi, [esp + 0x250]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x57c161
mov ax, word [0x87129c]
mov word [edi], ax
mov eax, dword [ebp + 8]
add eax, 0xffffffe4
cdq
mov ecx, 5
idiv ecx
mov edx, dword [esp + edx*4 + 0x28]
push edx
call fcn.0085ce30
add esp, 4
mov edx, eax
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x57c190
lea edi, [esp + 0x250]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x57c1a1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
movsx edx, word [ecx*2 + 0x90fcc8]
lea eax, [esp + 0x250]
push edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x154]
push 0x8ce5cc
push eax
call fcn.0043bcd5
lea eax, [esp + 0x15c]
add esp, 0xc
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x57c1f0
lea edi, [esp + 0x2250]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x57c201
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2250]
mov dword [esp + 0x70], ecx
mov eax, dword [ebp + 0xc]
cmp eax, 0x4e
je 0x57c2f1
mov edx, dword [eax*4 + 0x90fd68]
push edx
call fcn.0085ce30
add esp, 4
mov esi, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x57c242
lea edi, [esp + 0x3250]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x57c253
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx*2 + 0x90fcc8]
lea eax, [esp + 0x3250]
push edx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x154]
push 0x8ce5cc
push eax
call fcn.0043bcd5
lea eax, [esp + 0x15c]
add esp, 0xc
mov esi, eax
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x57c2a0
lea edi, [esp + 0xa50]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x57c2b1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xa50]
mov dword [esp + 0x40], ecx
call fcn.008386b0
mov esi, dword [ebp + 0xc]
movsx edx, word [esi*2 + 0x90fcc8]
mov ecx, dword [eax + 0x18]
add eax, 0x18
add ecx, edx
mov dword [eax], ecx
call fcn.0057ba00
mov eax, dword [ebp + 0x10]
cmp eax, 0x4e
je 0x57c3c1
mov eax, dword [eax*4 + 0x90fd68]
push eax
call fcn.0085ce30
add esp, 4
mov esi, eax
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x57c310
lea edi, [esp + 0x1250]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x57c321
mov edx, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
movsx eax, word [edx*2 + 0x90fcc8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1250]
push eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x154]
push 0x8ce5cc
push ecx
call fcn.0043bcd5
lea eax, [esp + 0x15c]
add esp, 0xc
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x57c370
lea edi, [esp + 0x1a50]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x57c381
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea edx, [esp + 0x1a50]
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x4c], edx
call fcn.008386b0
mov esi, dword [ebp + 0x10]
movsx ecx, word [esi*2 + 0x90fcc8]
mov edx, dword [eax + 0x18]
add eax, 0x18
add edx, ecx
mov dword [eax], edx
call fcn.0057ba00
call fcn.008386b0
mov ecx, dword [eax + 0x18]
mov esi, 0x1869f
cmp ecx, esi
jle 0x57c3da
call fcn.008386b0
mov dword [eax + 0x18], esi
push 0x2d0016
call fcn.0085ce30
add esp, 4
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x57c3f0
lea edi, [esp + 0x3a50]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x57c401
mov edx, dword [0xd9e364]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push edx
mov ecx, eax
lea eax, [esp + 0x154]
and ecx, 3
push str._d_WEN
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0043bcd5
lea eax, [esp + 0x15c]
add esp, 0xc
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x57c440
lea edi, [esp + 0x2a50]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x57c451
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
mov edx, 0x4e
cmp eax, edx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2a50]
je 0x57c4b8
mov eax, 1
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x88], eax
mov eax, 1
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x94], eax
xor eax, eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x98], eax
cmp dword [ebp + 0xc], edx
je 0x57c4fd
mov eax, 1
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa0], eax
xor eax, eax
mov dword [esp + 0xa4], eax
mov eax, 1
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xac], eax
xor eax, eax
mov dword [esp + 0xb0], eax
cmp dword [ebp + 0x10], edx
je 0x57c542
mov edx, dword [esp + 0x64]
mov eax, 1
mov dword [esp + 0xb4], eax
xor eax, eax
mov dword [esp + 0xbc], eax
mov eax, 1
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc4], eax
xor eax, eax
mov dword [esp + 0xb8], edx
mov dword [esp + 0xc8], eax
mov eax, 1
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x3a50]
mov dword [esp + 0xd0], eax
xor eax, eax
mov dword [esp + 0xd4], eax
mov eax, 1
mov dword [esp + 0xd8], eax
xor eax, eax
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
mov dword [esp + 0x144], 0x3f800000
mov dword [esp + 0x148], 0x3f800000
mov dword [esp + 0x14c], 0x3f800000
call fcn.00861720
fld dword [ebp + 0x14]
fcomp dword [0x8cb06c]
mov edx, eax
mov dword [0xd9e358], edx
fnstsw ax
test ah, 0x44
jnp 0x57c5e5
fld dword [ebp + 0x18]
fcomp dword [0x8cb06c]
fnstsw ax
test ah, 0x44
jnp 0x57c5e5
lea ecx, [esp + 0xc]
push ecx
push edx
call fcn.0085f920
mov edx, dword [0xd9e358]
push 4
push edx
jmp 0x57c645
mov esi, dword [ebp + 0x10]
mov ecx, 0x4e
xor eax, eax
cmp esi, ecx
je 0x57c5f8
mov eax, 1
cmp dword [ebp + 0xc], ecx
je 0x57c5fe
inc eax
cmp dword [ebp + 8], ecx
je 0x57c604
inc eax
dec eax
je 0x57c621
dec eax
je 0x57c617
dec eax
jne 0x57c631
mov dword [esp + 0x10], 0xc2f00000
jmp 0x57c629
mov dword [esp + 0x10], 0xc2c80000
jmp 0x57c629
mov dword [esp + 0x10], 0xc2a00000
mov dword [esp + 0xc], 0xc3520000
lea eax, [esp + 0xc]
push eax
push edx
call fcn.0085f920
mov ecx, dword [0xd9e358]
push 4
push ecx
call fcn.0085e6f0
mov eax, dword [0xd9e358]
add esp, 0x10
lea edx, [esp + 0x78]
push edx
push eax
call fcn.00861730
mov eax, dword [0xd9e358]
movzx ecx, byte [eax + 0x50]
inc ecx
and ecx, 0x80000001
push ebx
jns 0x57c675
dec ecx
or ecx, 0xfffffffe
inc ecx
imul ecx, ecx, 0x1fc
mov edx, dword [ecx + eax + 0x78]
push edx
call fcn.00464c20
mov eax, dword [0xd9e358]
movzx ecx, byte [eax + 0x50]
inc ecx
and ecx, 0x80000001
push 2
jns 0x57c69e
dec ecx
or ecx, 0xfffffffe
inc ecx
imul ecx, ecx, 0x1fc
mov edx, dword [ecx + eax + 0x94]
push edx
call fcn.00464c20
mov eax, dword [0xd9e358]
movzx ecx, byte [eax + 0x50]
inc ecx
and ecx, 0x80000001
push ebx
jns 0x57c6c9
dec ecx
or ecx, 0xfffffffe
inc ecx
imul ecx, ecx, 0x1fc
mov edx, dword [ecx + eax + 0xb0]
push edx
call fcn.00464c20
mov eax, dword [0xd9e358]
movzx ecx, byte [eax + 0x50]
inc ecx
and ecx, 0x80000001
push 2
jns 0x57c6f5
dec ecx
or ecx, 0xfffffffe
inc ecx
imul ecx, ecx, 0x1fc
mov edx, dword [ecx + eax + 0xcc]
push edx
call fcn.00464c20
mov eax, dword [0xd9e358]
movzx ecx, byte [eax + 0x50]
inc ecx
and ecx, 0x80000001
push ebx
jns 0x57c720
dec ecx
or ecx, 0xfffffffe
inc ecx
imul ecx, ecx, 0x1fc
mov edx, dword [ecx + eax + 0xe8]
push edx
call fcn.00464c20
mov eax, dword [0xd9e358]
movzx ecx, byte [eax + 0x50]
inc ecx
and ecx, 0x80000001
push 2
jns 0x57c74c
dec ecx
or ecx, 0xfffffffe
inc ecx
imul ecx, ecx, 0x1fc
mov edx, dword [ecx + eax + 0x104]
push edx
call fcn.00464c20
mov eax, dword [0xd9e358]
movzx ecx, byte [eax + 0x50]
inc ecx
and ecx, 0x80000001
push ebx
jns 0x57c777
dec ecx
or ecx, 0xfffffffe
inc ecx
imul ecx, ecx, 0x1fc
mov edx, dword [ecx + eax + 0x120]
push edx
call fcn.00464c20
mov eax, dword [0xd9e358]
movzx ecx, byte [eax + 0x50]
add esp, 0x40
inc ecx
and ecx, 0x80000001
push 2
jns 0x57c7a6
dec ecx
or ecx, 0xfffffffe
inc ecx
imul ecx, ecx, 0x1fc
mov edx, dword [ecx + eax + 0x13c]
push edx
call fcn.00464c20
mov eax, dword [0xd9e358]
push eax
call fcn.00861970
mov ecx, dword [0xd9e358]
push ebx
push ecx
call fcn.0085e7b0
mov al, byte [0xd9e35c]
add esp, 0x14
inc al
mov byte [0xd9e35c], al
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret