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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, edx
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x160]
mov dword [esp + 0x14], ecx
lea edi, [ecx + 0x14]
mov ecx, ebx
mov edx, edi
push 0
push dword [eax]
call fcn.0050c6a0
add esp, 8
test eax, eax
mov dword [esp], esi
je 0x510b3f
mov dword [esp + 0x10], eax
mov edi, dword [eax + 0xc]
push dword [ebx + 0x184]
push dword [ebx + 0x178]
push dword [ebp + 8]
push esi
call dword [esi + 0x24]
add esp, 0x10
mov edx, eax
mov eax, 0x7fffffff
sub eax, edi
cmp edx, eax
jg 0x5113e3
lea eax, [edx + edi]
mov esi, dword [ebx + 0x178]
cmp eax, esi
mov dword [esp + 0x1c], edi
jle 0x510845
sub edi, 0x7fffffef
jg 0x5113e3
neg edi
cmp edx, edi
jg 0x5113e3
add eax, 0x10
mov dword [ebx + 0x178], eax
cmp eax, 0x10000000
jae 0x510c40
mov dword [esp + 0x28], edx
shl eax, 4
push eax
push dword [ebx + 0x184]
call dword [ebx + 0x10]
add esp, 8
test eax, eax
je 0x510c40
mov dword [ebx + 0x184], eax
mov edx, dword [esp + 0x28]
cmp edx, esi
jle 0x510845
push eax
push edx
push dword [ebp + 8]
mov eax, dword [esp + 0xc]
push eax
call dword [eax + 0x24]
mov edx, dword [esp + 0x38]
add esp, 0x10
mov ecx, dword [ebx + 0x184]
lea eax, [ebx + 0x19c]
mov dword [esp + 0x24], eax
lea eax, [ebx + 0x1a8]
mov dword [esp + 0xc], eax
test edx, edx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov edi, dword [esp]
mov dword [esp + 4], ebx
jle 0x510bf8
mov dword [esp + 0x28], edx
mov esi, dword [ecx]
push esi
push edi
call dword [edi + 0x1c]
add esp, 8
add eax, esi
mov ecx, ebx
mov edx, edi
push eax
push esi
call fcn.0050ce70
add esp, 8
test eax, eax
je 0x5113e3
xor esi, esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 0
mov ecx, dword [eax]
cmp byte [ecx - 1], 0
jne 0x51126f
mov byte [ecx - 1], 1
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
mov dword [ecx + esi*4], edx
mov ecx, dword [esp + 4]
mov ebx, dword [ecx + 0x184]
mov edi, dword [esp + 0x20]
shl edi, 4
cmp byte [ebx + edi + 0xc], 0
mov edx, dword [esp]
mov dword [esp + 8], esi
mov dword [esp + 0x30], eax
je 0x510951
mov ecx, dword [ebx + edi + 4]
mov edi, dword [ebx + edi + 8]
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0xc]
cmp dword [eax], 0
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 4]
jne 0x510920
mov ecx, dword [esp + 0x24]
call fcn.0050d0b0
mov edx, dword [esp]
test al, al
je 0x510d6e
nop dword [eax + eax]
push dword [ebx + 0x1a4]
push dword [esp + 0x10]
push edi
lea eax, [esp + 0x5c]
push eax
push edx
call dword [edx + 0x38]
add esp, 0x14
cmp eax, 2
jb 0x510988
mov ecx, dword [esp + 0x24]
call fcn.0050d0b0
test al, al
mov edx, dword [esp]
jne 0x510920
jmp 0x510d6e
cmp byte [eax + 8], 0
mov al, 1
mov ecx, dword [esp + 0x10]
je 0x5109ea
mov edx, dword [esp + 0x1c]
test edx, edx
jle 0x5109e7
mov ecx, dword [ecx + 0x14]
add ecx, 4
nop
mov eax, dword [esp + 0x30]
cmp eax, dword [ecx - 4]
je 0x5109e5
add ecx, 0xc
add edx, 0xffffffff
jne 0x510970
mov edx, dword [esp]
mov al, 1
jmp 0x5109ea
cmp dword [ebx + 0x1ac], 0
mov edi, dword [esp + 0x18]
je 0x510d72
mov eax, dword [ebx + 0x1a8]
cmp eax, dword [ebx + 0x1a4]
jne 0x5109be
mov ecx, dword [esp + 0x24]
call fcn.0050d0b0
test al, al
je 0x510d72
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
lea ecx, [eax + 1]
mov dword [ebx + 0x1a8], ecx
mov byte [eax], 0
mov eax, dword [ebx + 0x1ac]
mov ecx, dword [esp + 8]
mov dword [edi + ecx*4 + 4], eax
test eax, eax
jne 0x510a66
jmp 0x5113e3
mov al, byte [ecx]
mov edx, dword [esp]
movzx esi, al
mov ecx, dword [esp + 4]
push dword [ebp + 0x14]
push dword [esp + 0x28]
push dword [ebx + edi + 8]
push dword [ebx + edi + 4]
push esi
mov ebx, eax
call fcn.005122c0
add esp, 0x14
test eax, eax
jne 0x510da4
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test bl, bl
je 0x510b0f
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 4]
cmp eax, dword [ebx + 0x1a4]
jne 0x510a4c
mov ecx, dword [esp + 0x24]
call fcn.0050d0b0
test al, al
je 0x5113e3
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
lea ecx, [eax + 1]
mov dword [ebx + 0x1a8], ecx
mov byte [eax], 0
mov eax, dword [ebx + 0x1ac]
mov ecx, dword [esp + 8]
mov dword [edi + ecx*4 + 4], eax
mov eax, dword [ebx + 0x1a8]
mov dword [ebx + 0x1ac], eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 4]
test edx, edx
je 0x510aaa
cmp byte [eax + 9], 0
je 0x510ab1
mov ebx, eax
mov ecx, dword [esp + 4]
push dword [ebp + 0x10]
mov eax, dword [esp + 0xc]
push dword [edi + eax*4 + 4]
push ebx
mov ebx, dword [esp + 0x10]
call fcn.00511f00
add esp, 0xc
test eax, eax
je 0x510ac1
jmp 0x510da4
add dword [esp + 8], 2
jmp 0x510ac1
add dword [esp + 8], 2
add dword [esp + 0x2c], 1
mov eax, dword [eax]
mov byte [eax - 1], 2
mov ecx, dword [esp + 0x20]
add ecx, 1
cmp ecx, dword [esp + 0x28]
je 0x5112a2
mov eax, dword [ebx + 0x184]
mov dword [esp + 0x20], ecx
shl ecx, 4
mov esi, dword [eax + ecx]
push esi
mov edi, dword [esp + 4]
push edi
call dword [edi + 0x1c]
add esp, 8
add eax, esi
mov ecx, ebx
mov edx, edi
push eax
push esi
call fcn.0050ce70
add esp, 8
test eax, eax
mov esi, dword [esp + 8]
jne 0x5108ae
jmp 0x5113e3
mov ebx, dword [esp + 4]
cmp eax, dword [ebx + 0x1ac]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
je 0x510a2d
cmp byte [eax - 1], 0x20
jne 0x510a2d
add eax, 0xffffffff
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
jmp 0x510a2d
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x14]
lea esi, [edx + 0x50]
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
mov dword [esp + 4], ebx
jmp 0x510b7c
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x5c]
movzx ecx, byte [edi]
lea edx, [eax + 1]
mov dword [ebx + 0x5c], edx
mov byte [eax], cl
cmp byte [edi], 0
lea edi, [edi + 1]
mov edx, ebx
je 0x510b96
mov eax, dword [edx + 0x5c]
cmp eax, dword [edx + 0x58]
mov ebx, edx
jne 0x510b67
mov ecx, esi
call fcn.0050d0b0
test al, al
jne 0x510b60
jmp 0x5113e3
mov ecx, dword [edx + 0x5c]
mov eax, dword [edx + 0x60]
mov dword [edx + 0x60], ecx
mov ecx, 1
test eax, eax
je 0x5113e8
mov ebx, dword [esp + 4]
mov ecx, ebx
mov edx, dword [esp + 0xc]
push 0x18
push eax
call fcn.0050c6a0
add esp, 8
test eax, eax
je 0x5113e3
cmp byte [ebx + 0xe8], 0
je 0x510d88
mov ecx, ebx
mov edx, eax
mov esi, eax
call fcn.00511e20
test eax, eax
mov eax, esi
mov esi, dword [esp]
mov ecx, 1
jne 0x51079e
jmp 0x5113e8
xor eax, eax
mov dword [esp + 0x2c], 0
mov edi, ecx
mov ecx, eax
mov dword [esp + 8], eax
mov dword [ebx + 0x17c], eax
mov ecx, dword [esi + 8]
mov eax, 0xffffffff
test ecx, ecx
je 0x510c50
mov ecx, dword [ecx]
cmp byte [ecx - 1], 0
je 0x510c50
cmp dword [esp + 8], 0
jle 0x510c56
xor eax, eax
nop dword [eax]
cmp dword [edi + eax*4], ecx
je 0x510c50
add eax, 2
cmp eax, dword [esp + 8]
jl 0x510c30
jmp 0x510c56
mov dword [ebx + 0x178], esi
mov ecx, 1
jmp 0x5113e8
mov dword [ebx + 0x180], eax
cmp dword [esp + 0x1c], 0
jle 0x510cf7
mov edi, 8
nop word cs:[eax + eax]
mov eax, dword [esi + 0x14]
mov esi, dword [eax + edi - 8]
mov ecx, dword [esi]
cmp byte [ecx - 1], 0
jne 0x510ce5
mov ebx, dword [eax + edi]
test ebx, ebx
je 0x510ce1
mov edx, dword [esi + 4]
test edx, edx
je 0x510cb3
cmp byte [esi + 9], 0
je 0x510cb9
mov ecx, dword [esp + 4]
push dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
call fcn.00511f00
add esp, 0xc
test eax, eax
mov esi, dword [esp + 0x10]
je 0x510ce9
jmp 0x510da4
mov byte [ecx - 1], 1
jmp 0x510cc2
mov byte [ecx - 1], 2
add dword [esp + 0x2c], 1
mov ecx, dword [eax + edi - 8]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 8]
mov dword [edx + esi*4], ecx
mov eax, dword [eax + edi]
mov dword [edx + esi*4 + 4], eax
add esi, 2
mov dword [esp + 8], esi
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0x10]
add edi, 0xc
add dword [esp + 0x1c], 0xffffffff
jne 0x510c70
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 8]
mov dword [ecx + eax*4], 0
xor edi, edi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5112c0
movzx edx, byte [ebx + 0x190]
cmp edx, 0x1f
ja 0x5113e3
mov ecx, edx
mov edx, 1
shl edx, cl
add eax, eax
sar eax, cl
test eax, eax
je 0x510d90
mov dword [esp], ecx
mov eax, ecx
mov edi, dword [esp + 0x2c]
nop
mov ecx, eax
add al, 1
mov edx, edi
sar edx, cl
test edx, edx
jne 0x510d40
mov byte [ebx + 0x190], al
cmp al, 2
ja 0x510dab
mov byte [ebx + 0x190], 3
mov ecx, 3
mov dword [esp + 0x1c], 8
xor edi, edi
jmp 0x510dd0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 8]
mov dword [edi + eax*4 + 4], 0
mov ecx, 1
jmp 0x5113e8
mov esi, dword [esp]
jmp 0x51079e
mov dword [esp + 0x1c], edx
mov eax, dword [ebx + 0x18c]
test eax, eax
jne 0x510e8a
jmp 0x510df2
mov ecx, eax
jmp 0x5113e8
cmp al, 0x20
jae 0x51125c
mov edx, 1
mov ecx, eax
shl edx, cl
cmp al, 0x1d
mov edi, 0
jae 0x51125c
mov dword [esp + 0x1c], edx
movzx ecx, al
mov eax, 0xc
shl eax, cl
push eax
push dword [ebx + 0x188]
call dword [ebx + 0x10]
add esp, 8
test eax, eax
je 0x51125c
mov dword [ebx + 0x188], eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 1]
mov dword [esp], ecx
mov edx, eax
mov ecx, eax
and edx, 3
je 0x510e35
lea ecx, [eax*4]
lea ecx, [ecx + ecx*2]
xor esi, esi
mov edi, dword [ebx + 0x188]
mov dword [edi + ecx - 0xc], 0xffffffff
add esi, 1
add ecx, 0xfffffff4
cmp edx, esi
jne 0x510e11
mov ecx, dword [esp + 0x1c]
sub ecx, esi
mov esi, dword [esp + 0x10]
xor edi, edi
cmp dword [esp], 3
jb 0x510e85
lea eax, [ecx*4]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 0x188]
mov dword [edx + eax - 0xc], 0xffffffff
mov edx, dword [ebx + 0x188]
mov dword [edx + eax - 0x18], 0xffffffff
mov edx, dword [ebx + 0x188]
mov dword [edx + eax - 0x24], 0xffffffff
mov edx, dword [ebx + 0x188]
mov dword [edx + eax - 0x30], 0xffffffff
add eax, 0xffffffd0
add ecx, 0xfffffffc
jne 0x510e45
mov eax, 0xffffffff
add eax, 0xffffffff
mov dword [esp + 0x20], eax
mov dword [ebx + 0x18c], eax
cmp dword [esp + 8], 0
mov edx, dword [esp + 0x14]
jle 0x5112c0
lea ecx, [edx + 0x28]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
lea edi, [ecx - 1]
neg ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edi
shr edi, 2
mov dword [esp + 0x4c], edi
xor edi, edi
mov eax, edx
mov ecx, edi
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x18]
mov edi, dword [edx + edi*4]
cmp byte [edi - 1], 2
jne 0x510ffe
lea edx, [esp + 0x70]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov ecx, ebx
nop dword [eax]
mov eax, ecx
mov ecx, dword [ecx + 0x1d8]
test ecx, ecx
jne 0x510ef0
mov eax, dword [eax + 0x1ec]
mov dword [esp + 0x54], 0x736f6d65
mov dword [esp + 0x50], 0x70736575
mov ecx, eax
xor ecx, 0x6e646f6d
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0x646f7261
mov dword [esp + 0x64], 0x6c796765
mov dword [esp + 0x60], 0x6e657261
xor eax, 0x79746573
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x74656462
mov dword [esp + 0x78], edx
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov byte [edi - 1], 0
mov ecx, ebx
mov edx, dword [esp + 0x44]
push 0
push edi
call fcn.0050c6a0
add esp, 8
mov ecx, 1
test eax, eax
je 0x5113e8
mov eax, dword [eax + 4]
test eax, eax
je 0x5113e8
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x5113f2
mov eax, dword [ecx + 0x14]
test eax, eax
mov dword [esp + 0x38], ecx
jle 0x511009
xor esi, esi
jmp 0x510fc7
lea ecx, [eax + 1]
mov edx, dword [esp + 0xc]
mov dword [edx], ecx
movzx ecx, byte [esp]
mov byte [eax], cl
add esi, 1
mov eax, dword [ebx + 0x14]
cmp esi, eax
mov ecx, ebx
mov ebx, dword [esp + 4]
jge 0x511009
mov eax, dword [ecx + 0x10]
movzx eax, byte [eax + esi]
mov byte [esp], al
mov eax, dword [ebx + 0x1a8]
cmp eax, dword [ebx + 0x1a4]
mov ebx, ecx
jne 0x510fa8
mov ecx, dword [esp + 0x24]
call fcn.0050d0b0
test al, al
je 0x5113e3
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov ebx, dword [esp + 0x38]
jmp 0x510fa8
mov byte [edi - 1], 0
mov edx, eax
jmp 0x511249
mov edx, dword [ecx + 0x10]
lea ecx, [esp + 0x50]
push eax
call fcn.0050e8a0
add esp, 4
nop dword [eax]
cmp byte [edi], 0x3a
lea edi, [edi + 1]
jne 0x511020
cmp byte [edi], 0
je 0x51103e
xor ecx, ecx
nop
lea eax, [ecx + 1]
cmp byte [edi + ecx + 1], 0
mov ecx, eax
jne 0x511030
jmp 0x511040
xor eax, eax
lea ecx, [esp + 0x50]
mov edx, edi
push eax
call fcn.0050e8a0
add esp, 4
jmp 0x511076
movzx ecx, byte [edi]
lea edx, [eax + 1]
mov esi, dword [esp + 0xc]
mov dword [esi], edx
mov byte [eax], cl
cmp byte [edi], 0
lea edi, [edi + 1]
je 0x51109d
mov eax, dword [ebx + 0x1a8]
cmp eax, dword [ebx + 0x1a4]
jne 0x511060
mov ecx, dword [esp + 0x24]
call fcn.0050d0b0
test al, al
je 0x5113e3
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
jmp 0x511060
lea ecx, [esp + 0x50]
call fcn.0050ea90
mov edi, dword [esp + 0x40]
and edi, eax
mov esi, dword [ebx + 0x188]
lea edx, [edi + edi*2]
mov ecx, dword [esp + 0x20]
cmp dword [esi + edx*4], ecx
mov dword [esp + 0x28], eax
jne 0x511187
and eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov dword [esp + 0x30], esi
jmp 0x511112
test al, al
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0x20]
jne 0x5112ab
mov eax, dword [esp]
test al, al
je 0x511169
mov dword [esp], eax
movzx eax, al
sub edi, eax
mov eax, 0
cmovl eax, dword [esp + 0x1c]
add edi, eax
lea eax, [edi + edi*2]
mov esi, dword [esp + 0x30]
cmp dword [esi + eax*4], ecx
jne 0x511187
lea edx, [edi + edi*2]
mov eax, dword [esp + 0x28]
cmp dword [esi + edx*4 + 4], eax
jne 0x5110eb
mov ecx, dword [ebx + 0x1ac]
mov ah, byte [ecx]
test ah, ah
sete al
je 0x5110db
mov esi, edx
mov edx, dword [esp + 0x30]
mov esi, dword [edx + esi*4 + 8]
cmp ah, byte [esi]
jne 0x5110db
mov ebx, 1
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ah, byte [ecx + ebx]
test ah, ah
sete al
je 0x5110db
lea edx, [ebx + 1]
cmp ah, byte [esi + ebx]
mov ebx, edx
je 0x511150
jmp 0x5110db
mov cl, byte [ebx + 0x190]
add cl, 0xff
mov eax, dword [esp + 0x48]
shr eax, cl
mov ecx, dword [esp + 0x20]
and eax, dword [esp + 0x4c]
or al, 1
jmp 0x5110f2
cmp byte [ebx + 0xe9], 0
je 0x5111ec
mov al, byte [ebx + 0x1d4]
mov ecx, dword [ebx + 0x1a8]
mov byte [ecx - 1], al
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov esi, dword [eax]
jmp 0x5111cc
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
movzx ecx, byte [esi]
mov byte [esp], cl
lea edx, [eax + 1]
mov ecx, dword [esp + 0xc]
mov dword [ecx], edx
movzx ecx, byte [esp]
mov byte [eax], cl
cmp byte [esi], 0
lea esi, [esi + 1]
je 0x5111ec
mov eax, dword [ebx + 0x1a8]
cmp eax, dword [ebx + 0x1a4]
jne 0x5111af
mov ecx, dword [esp + 0x24]
call fcn.0050d0b0
test al, al
jne 0x5111a9
jmp 0x5113e3
mov eax, dword [ebx + 0x1a8]
mov ecx, dword [ebx + 0x1ac]
mov dword [ebx + 0x1ac], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov dword [eax + edx*4], ecx
mov eax, dword [ebx + 0x188]
shl edi, 2
lea edx, [edi + edi*2]
mov esi, dword [esp + 0x20]
mov dword [eax + edx], esi
mov eax, dword [ebx + 0x188]
mov esi, dword [esp + 0x28]
mov dword [eax + edx + 4], esi
mov eax, dword [ebx + 0x188]
mov dword [eax + edx + 8], ecx
mov eax, dword [esp + 0x2c]
add eax, 0xffffffff
je 0x5112b5
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
add edi, 2
cmp edi, dword [esp + 8]
jl 0x510ec7
jmp 0x5112c0
mov eax, dword [esp]
mov byte [ebx + 0x190], al
mov ecx, 1
jmp 0x5113e8
mov ecx, 8
mov eax, dword [esp]
mov esi, dword [esp + 4]
cmp dword [esi + 0x90], eax
jne 0x5113e8
mov eax, dword [esi + 0x184]
mov edx, dword [esp + 0x20]
shl edx, 4
mov eax, dword [eax + edx]
mov dword [esi + 0x11c], eax
jmp 0x5113e8
mov eax, dword [esp + 8]
jmp 0x510c04
mov ecx, 8
jmp 0x5113e8
mov edi, dword [esp + 0x34]
add edi, 2
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 8]
cmp edi, ecx
mov edx, dword [esp + 0x18]
jge 0x5112de
nop dword [eax]
mov eax, dword [edx + edi*4]
mov byte [eax - 1], 0
add edi, 2
cmp edi, ecx
jl 0x5112d0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x511300
nop word [eax + eax]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx]
mov byte [ecx - 1], 0
mov eax, dword [eax + 4]
test eax, eax
jne 0x5112f0
xor ecx, ecx
cmp byte [ebx + 0xe8], 0
mov edx, dword [esp + 0x14]
je 0x5113e8
mov eax, dword [esi + 4]
test eax, eax
je 0x51133a
mov edx, dword [eax + 4]
test edx, edx
je 0x5113f2
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
nop word [eax + eax]
cmp byte [ebx], 0x3a
lea ebx, [ebx + 1]
jne 0x511330
jmp 0x51134d
mov edx, dword [edx + 0x9c]
test edx, edx
je 0x5113e8
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
xor edi, edi
mov eax, dword [esp + 4]
cmp byte [eax + 0xe9], 0
mov esi, 0
je 0x51137b
mov eax, dword [edx]
mov eax, dword [eax]
mov esi, 0
test eax, eax
je 0x51137b
xor ecx, ecx
lea esi, [ecx + 1]
cmp byte [eax + ecx], 0
mov ecx, esi
jne 0x511370
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], ebx
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [ecx + 8], eax
mov dword [ecx + 0x14], esi
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp byte [ebx + edi], 0
lea edi, [edi + 1]
jne 0x5113a0
mov ecx, dword [edx + 0x14]
mov eax, 0x7fffffff
sub eax, esi
cmp ecx, eax
jg 0x5113e3
mov dword [esp + 0x14], edx
lea edx, [edi - 1]
mov dword [esp], ecx
lea eax, [esi + ecx]
mov ecx, 0x7fffffff
sub ecx, eax
cmp edx, ecx
jge 0x5113e3
lea ecx, [eax + edi]
mov edx, dword [esp + 0x14]
cmp ecx, dword [edx + 0x18]
jle 0x5113f9
cmp ecx, 0x7fffffe7
jle 0x5113fe
mov ecx, 1
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x1b
jmp 0x5113e8
mov eax, dword [edx + 0x10]
jmp 0x51147c
add eax, edi
add eax, 0x18
mov dword [esp], eax
push eax
mov eax, dword [esp + 8]
call dword [eax + 0xc]
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, 1
test eax, eax
je 0x5113e8
mov ecx, dword [esp]
mov dword [edx + 0x18], ecx
push dword [edx + 0x14]
push dword [edx + 0x10]
mov dword [esp + 0x14], eax
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov edx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x168]
jmp 0x511449
mov eax, dword [eax]
test eax, eax
je 0x51145e
mov ecx, dword [eax + 0xc]
cmp ecx, dword [edx + 0x10]
jne 0x511447
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc], ecx
jmp 0x511447
push dword [edx + 0x10]
mov eax, dword [esp + 8]
call dword [eax + 0x14]
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x10], eax
mov ecx, dword [ecx + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp]
add ecx, eax
push edi
push ebx
mov dword [esp + 8], ecx
push ecx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
test esi, esi
mov ebx, dword [esp + 0x14]
je 0x5114ba
mov edx, dword [esp]
lea eax, [edx + edi]
mov ecx, dword [esp + 4]
mov cl, byte [ecx + 0x1d4]
mov byte [edx + edi - 1], cl
mov ecx, dword [ebx]
push esi
push dword [ecx]
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor ecx, ecx
jmp 0x5113e8