Function at 0x4cd110
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
push 0
call fcn.004ff06e
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, esi
push eax
call fcn.00502ee1
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x3c]
add esi, edi
mov eax, 0x8664
add esp, 4
mov dword [ebp - 0x20], esi
cmp word [esi + 4], ax
je 0x4cdd90
movzx ecx, word [esi + 0x14]
mov eax, dword [esi + 0x3c]
mov ebx, dword [esi + 0x38]
dec eax
dec ebx
cmp dword [esi + 0xa0], 0
lea edx, [ecx + esi + 0x18]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ebx
je 0x4cdd14
cmp dword [esi + 0xa4], 0
je 0x4cdd14
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x4cd19c
call fcn.00502ef3
and eax, 0x8000000f
jns 0x4cd19c
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 1
jae 0x4cd1a6
mov eax, 1
lea ecx, [ebx + 1]
imul ecx, eax
push edi
mov dword [ebp - 0xc], ecx
call fcn.004cb540
mov edi, dword [ebp + 0x10]
add esp, 4
mov dword [ebp - 0x18], eax
cmp edi, 0xffffffff
jne 0x4cd1d7
test eax, eax
jbe 0x4cd1d5
call fcn.00502ef3
xor edx, edx
div dword [ebp - 0x18]
mov edi, edx
jmp 0x4cd1d7
xor edi, edi
and edi, 0xfffffffc
cmp edi, dword [ebp - 0x18]
ja 0x4cdb16
add edi, dword [ebp - 0xc]
mov eax, ebx
not eax
mov dword [ebp - 0x34], eax
add ebx, edi
and ebx, eax
mov eax, dword [esi + 0x50]
lea eax, [ebx + eax + 0x1000]
push eax
mov dword [ebp + 0x10], edi
mov dword [ebp - 0x24], eax
call fcn.00480850
mov ecx, dword [ebp - 0x24]
push ecx
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x10], ebx
call fcn.004ff6f0
mov edx, dword [esi + 0x54]
mov esi, dword [ebp + 8]
push edx
push esi
push ebx
call fcn.004fe210
mov esi, dword [esi + 0x3c]
movzx eax, word [esi + ebx + 0x14]
add dword [esi + ebx + 0x28], edi
add esi, ebx
add esp, 0x1c
lea ecx, [eax + esi + 0x18]
xor edx, edx
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
lea eax, [esi + 0x78]
lea esp, [esp]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cd277
cmp dword [eax + 4], 0
je 0x4cd277
cmp ecx, dword [esi + 0x54]
jb 0x4cd277
cmp edx, 2
je 0x4cd26f
cmp edx, 5
je 0x4cd26f
add ecx, edi
jmp 0x4cd275
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [eax], ecx
inc edx
add eax, 8
mov dword [ebp - 8], edx
cmp edx, 0x10
jb 0x4cd250
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
add eax, ebx
mov dword [ebp - 0x18], eax
call fcn.00502ef3
mov ecx, dword [ebp + 8]
and eax, 0xff0
cmp dword [ebp - 0xc], 0
lea eax, [eax + ecx + 0x1000]
jbe 0x4cd2d0
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], edx
call fcn.00502ef3
mov edx, dword [ebp - 0x24]
mov ecx, eax
mov eax, dword [ebp - 0x18]
xor cl, byte [edx + eax]
inc eax
dec dword [ebp - 8]
mov byte [eax - 1], cl
mov dword [ebp - 0x18], eax
jne 0x4cd2b4
xor eax, eax
cmp ax, word [esi + 6]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], 0
jae 0x4cd39d
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
mov dword [ebp - 0x18], ecx
lea esi, [eax + 0x10]
mov edx, dword [ebp - 0xc]
add dword [esi - 4], edx
cmp dword [esi + 4], 0
je 0x4cd380
lea eax, [esi - 0x10]
push str..rsrc
push eax
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4cd363
lea eax, [esi - 0x10]
push str..reloc
push eax
call fcn.004ff027
add esp, 8
test eax, eax
je 0x4cd363
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
add edx, dword [ebp + 8]
push eax
mov eax, dword [esi - 4]
sub eax, dword [ebp - 0xc]
push edx
add eax, ebx
add eax, edi
push eax
call fcn.004fe210
mov eax, dword [ebp - 0x1c]
mov ecx, edi
sub ecx, dword [ebp - 0xc]
add esp, 0xc
add dword [esi - 8], ecx
mov ecx, dword [esi - 8]
add ecx, eax
not eax
and ecx, eax
mov dword [esi], ecx
jmp 0x4cd37d
mov eax, dword [ebp - 0x18]
mov edx, dword [esi]
mov ecx, dword [eax]
add ecx, dword [ebp + 8]
push edx
mov edx, dword [esi - 4]
push ecx
add edx, ebx
push edx
call fcn.004fe210
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
movzx edx, word [edx + 6]
add dword [ebp - 0x18], 0x28
inc ecx
add esi, 0x28
mov dword [ebp - 8], ecx
cmp ecx, edx
jb 0x4cd2f2
mov edx, dword [ebp - 0xc]
add dword [eax + 8], edx
sub dword [eax + 0xc], edx
mov esi, dword [ebp - 0x1c]
add edx, esi
add edx, dword [eax + 0x10]
mov ecx, esi
mov esi, dword [ebp - 4]
not ecx
and edx, ecx
mov dword [eax + 0x10], edx
mov edx, dword [esi + 0xa0]
mov dword [ebp - 0x30], ecx
test edx, edx
je 0x4cd441
cmp dword [esi + 0xa4], 0
je 0x4cd441
add edx, ebx
cmp dword [edx], 0
je 0x4cd441
mov esi, dword [edx + 4]
sub esi, 8
shr esi, 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], 0
je 0x4cd436
jmp 0x4cd3f0
mov eax, dword [ebp - 8]
movzx ecx, word [edx + eax*2 + 8]
mov eax, ecx
and eax, 0xfff
add eax, dword [edx]
shr ecx, 0xc
add eax, ebx
test ecx, ecx
je 0x4cd42b
cmp ecx, 3
jne 0x4cdb0d
mov ecx, dword [ebp - 0x20]
mov esi, dword [ecx + 0x34]
add esi, dword [ecx + 0x54]
mov ecx, dword [eax + edi]
cmp ecx, esi
mov esi, dword [ebp - 0x18]
jb 0x4cd42b
add ecx, edi
mov dword [eax + edi], ecx
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, esi
jb 0x4cd3f0
add edx, dword [edx + 4]
cmp dword [edx], 0
jne 0x4cd3d7
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x78]
test eax, eax
je 0x4cd4b9
cmp dword [esi + 0x7c], 0
je 0x4cd4b9
add dword [eax + ebx + 0x1c], edi
mov edx, dword [eax + ebx + 0x1c]
add dword [eax + ebx + 0xc], edi
add dword [eax + ebx + 0x24], edi
lea ecx, [eax + ebx + 0x14]
add edx, ebx
cmp dword [ecx], 0
mov dword [ebp - 8], 0
jbe 0x4cd48b
mov esi, dword [edx]
test esi, esi
je 0x4cd47a
add esi, edi
mov dword [edx], esi
mov esi, dword [ebp - 8]
inc esi
add edx, 4
mov dword [ebp - 8], esi
cmp esi, dword [ecx]
jb 0x4cd470
mov esi, dword [ebp - 4]
mov edx, dword [eax + ebx + 0x20]
lea eax, [eax + ebx + 0x20]
test edx, edx
je 0x4cd4b9
add edx, edi
mov dword [eax], edx
lea eax, [edx + ebx]
xor edx, edx
cmp dword [ecx], edx
jbe 0x4cd4b9
mov esi, dword [eax]
test esi, esi
je 0x4cd4ae
add esi, edi
mov dword [eax], esi
inc edx
add eax, 4
cmp edx, dword [ecx]
jb 0x4cd4a4
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4cd51b
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x84], 0
je 0x4cd51b
add eax, ebx
cmp dword [eax + 0xc], 0
je 0x4cd51b
add dword [eax], edi
mov ecx, dword [eax]
add dword [eax + 0xc], edi
add ecx, ebx
cmp dword [ecx], 0
je 0x4cd4f7
mov edx, dword [ecx]
test edx, edx
js 0x4cd4ef
add edx, edi
mov dword [ecx], edx
add ecx, 4
cmp dword [ecx], 0
jne 0x4cd4e5
add dword [eax + 0x10], edi
cmp dword [eax + 4], 0
mov ecx, dword [eax + 0x10]
jne 0x4cd512
add ecx, ebx
cmp dword [ecx], 0
je 0x4cd512
add ecx, 4
cmp dword [ecx], 0
jne 0x4cd50a
add eax, 0x14
cmp dword [eax + 0xc], 0
jne 0x4cd4d7
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xd8]
test eax, eax
je 0x4cd54a
cmp dword [edx + 0xdc], 0
je 0x4cd54a
add eax, ebx
cmp dword [eax], 0
je 0x4cd54a
mov ecx, dword [eax]
test ecx, ecx
js 0x4cd542
add ecx, edi
mov dword [eax], ecx
add eax, 4
cmp dword [eax], 0
jne 0x4cd538
mov eax, dword [edx + 0x50]
lea eax, [eax + ebx - 1]
mov edi, ebx
cmp ebx, eax
jae 0x4cd582
mov cl, 0xa5
lea esp, [esp]
cmp byte [edi], 0x2b
jne 0x4cd576
cmp byte [edi + 1], 7
jne 0x4cd576
cmp byte [edi + 2], 0x62
jne 0x4cd576
cmp byte [edi + 3], cl
je 0x4cd582
mov esi, dword [edx + 0x50]
inc edi
lea esi, [esi + ebx - 1]
cmp edi, esi
jb 0x4cd560
cmp edi, eax
jb 0x4cd588
xor edi, edi
mov esi, dword [ebp - 4]
xor ecx, ecx
mov word [esi + 0x46], cx
test edi, edi
je 0x4cd83b
call fcn.00502ef3
mov edx, dword [esi + 0x80]
and eax, 0x7f
or eax, 0x80
add edx, ebx
mov word [esi + 0x46], ax
cmp dword [edx + 0xc], 0
mov cl, al
je 0x4cd608
lea ebx, [ebx]
mov esi, dword [edx]
mov eax, dword [esi + ebx]
add esi, ebx
test eax, eax
je 0x4cd5ea
js 0x4cd5e0
cmp byte [eax + ebx + 2], 0
lea eax, [eax + ebx + 2]
je 0x4cd5e0
xor byte [eax], cl
inc eax
cmp byte [eax], 0
jne 0x4cd5d8
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x4cd5cb
mov eax, dword [edx + 0xc]
add eax, ebx
cmp byte [eax], 0
je 0x4cd5fc
xor byte [eax], cl
inc eax
cmp byte [eax], 0
jne 0x4cd5f4
add edx, 0x14
cmp dword [edx + 0xc], 0
jne 0x4cd5c0
mov esi, dword [ebp - 4]
lea edx, [edi + 0x18]
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], 0x10
call fcn.00502ef3
mov ecx, dword [ebp - 0x18]
mov byte [ecx - 0x14], al
call fcn.00502ef3
mov edx, dword [ebp - 0x18]
mov byte [edx], al
call fcn.00502ef3
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x14], al
inc ecx
dec dword [ebp - 8]
mov dword [ebp - 0x18], ecx
jne 0x4cd615
mov eax, dword [esi + 0x80]
mov dword [edi + 0x3c], eax
mov eax, edi
sub eax, ebx
lea edx, [eax + 0xbe]
mov dword [edi + 0x48], edx
mov dword [ebp - 0x24], edx
lea edx, [eax + 0xd2]
mov dword [edi + 0x4c], edx
mov dword [ebp - 0x18], edx
lea edx, [eax + 0x90]
mov dword [edi + 0x54], edx
lea edx, [eax + 0xb2]
mov dword [edi + 0x60], edx
lea edx, [eax + 0x40]
mov dword [edi + 0x64], edx
mov dword [ebp - 8], edx
lea edx, [eax + 0x98]
mov dword [edi + 0x68], edx
lea ecx, [eax + 0xa4]
mov dword [edi + 0x40], ecx
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
mov dword [edi + 0x44], ecx
mov dword [edi + 0x50], ecx
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x6c], ecx
mov dword [edi + 0x70], ecx
lea edx, [eax + 0xe4]
mov dword [edi + 0x74], edx
lea edx, [eax + 0x48]
mov dword [edi + 0x78], edx
mov dword [edi + 0x7c], ecx
mov dword [edi + 0x80], ecx
mov dword [edi + 0x84], ecx
mov dword [edi + 0x88], ecx
mov dword [edi + 0x8c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [edi + 0x90], edx
mov edx, dword [ebp - 0x24]
mov dword [edi + 0x98], edx
mov edx, dword [ebp - 0x18]
mov dword [edi + 0x94], ecx
mov dword [edi + 0xa0], ecx
mov word [edi + 0xa4], cx
mov dword [edi + 0x9c], edx
mov edx, dword [0x5778bc]
mov dword [edi + 0xa6], edx
mov ecx, dword [0x5778c0]
mov dword [edi + 0xaa], ecx
mov edx, dword [0x5778c4]
mov dword [edi + 0xae], edx
mov ecx, dword [0x5778b0]
mov dword [edi + 0xb2], ecx
mov edx, dword [0x5778b4]
mov dword [edi + 0xb6], edx
movzx ecx, word [0x5778b8]
mov word [edi + 0xba], cx
movzx edx, byte [0x5778ba]
mov byte [edi + 0xbc], dl
xor ecx, ecx
mov word [edi + 0xbe], cx
mov edx, dword [0x57789c]
mov dword [edi + 0xc0], edx
mov ecx, dword [0x5778a0]
mov dword [edi + 0xc4], ecx
mov edx, dword [0x5778a4]
mov dword [edi + 0xc8], edx
mov ecx, dword [0x5778a8]
mov dword [edi + 0xcc], ecx
movzx edx, byte [0x5778ac]
xor ecx, ecx
mov byte [edi + 0xd0], dl
mov word [edi + 0xd2], cx
mov edx, dword [0x57788c]
mov dword [edi + 0xd4], edx
mov ecx, dword [0x577890]
mov dword [edi + 0xd8], ecx
mov edx, dword [0x577894]
mov dword [edi + 0xdc], edx
movzx ecx, word [0x577898]
mov word [edi + 0xe0], cx
movzx edx, byte [0x57789a]
mov byte [edi + 0xe2], dl
mov ecx, dword [0x57787c]
mov dword [edi + 0xe4], ecx
mov edx, dword [0x577880]
mov dword [edi + 0xe8], edx
mov ecx, dword [0x577884]
mov dword [edi + 0xec], ecx
movzx edx, byte [0x577888]
mov byte [edi + 0xf0], dl
add eax, 0x54
mov dword [esi + 0x80], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x84], 0x3c
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], 0x14
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x4cd89c
cmp dword [esi + 0xcc], 0
je 0x4cd89c
cmp dword [ecx + ebx], 0x48
jb 0x4cd89c
mov eax, dword [ecx + ebx + 0x40]
test eax, eax
je 0x4cd89c
lea ecx, [ecx + ebx + 0x44]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x4cd89c
sub eax, dword [esi + 0x34]
mov dword [ebp - 8], 0
add eax, ebx
test ecx, ecx
je 0x4cd89c
lea esp, [esp]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cd88b
add ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x2c]
inc ecx
add eax, 4
mov dword [ebp - 8], ecx
cmp ecx, dword [edx]
jb 0x4cd880
mov eax, dword [esi + 0x88]
test eax, eax
je 0x4cd8bf
cmp dword [esi + 0x8c], 0
je 0x4cd8bf
mov ecx, dword [ebp - 0xc]
add eax, ebx
push ecx
push eax
push eax
call fcn.004ccfe0
add esp, 0xc
mov esi, dword [esi + 0xa0]
test esi, esi
je 0x4cda3c
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xa4]
test eax, eax
je 0x4cda3c
push eax
push 0
add esi, ebx
push esi
call fcn.004ff6f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
xor ecx, ecx
add eax, ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ecx + 0xa0]
add esi, dword [ebp + 8]
add esp, 0xc
cmp dword [esi], 0
mov dword [ebp - 0x24], esi
je 0x4cd9cf
mov ecx, dword [esi + 4]
sub ecx, 8
shr ecx, 1
mov dword [ebp - 0x18], ecx
mov ecx, 0
mov dword [ebp - 8], ecx
je 0x4cd9c0
nop
movzx ecx, word [esi + ecx*2 + 8]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4cd9b0
and ecx, 0xfff
add ecx, dword [esi]
add ecx, dword [ebp + 0x10]
mov edx, ecx
sub edx, dword [eax]
cmp edx, 0xfff
jbe 0x4cd990
mov edx, dword [eax + 4]
test edx, edx
je 0x4cd981
test dl, 1
je 0x4cd975
mov esi, dword [ebp - 0x24]
xor ebx, ebx
mov word [eax + edx*2 + 8], bx
inc dword [eax + 4]
mov edx, dword [eax + 4]
lea edx, [edx + edx + 8]
mov dword [eax + 4], edx
add eax, edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, ecx
and edx, 0xfffff000
mov dword [eax], edx
sub cx, word [eax]
mov ebx, dword [eax + 4]
mov word [eax + ebx*2 + 8], cx
mov ecx, dword [eax + 4]
mov ebx, dword [ebp - 0x10]
lea ecx, [eax + ecx*2 + 8]
mov edx, 0x3000
or word [ecx], dx
inc dword [eax + 4]
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x4cd930
add esi, dword [esi + 4]
cmp dword [esi], 0
mov dword [ebp - 0x24], esi
jne 0x4cd916
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4cd9f1
test cl, 1
je 0x4cd9e5
xor esi, esi
mov word [eax + ecx*2 + 8], si
inc dword [eax + 4]
mov ecx, dword [eax + 4]
lea ecx, [ecx + ecx + 8]
mov dword [eax + 4], ecx
add eax, ecx
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov ecx, dword [edx + 0xa0]
mov esi, eax
movzx eax, word [edx + 6]
add ecx, ebx
sub esi, ecx
mov ecx, dword [ebp - 0x14]
lea eax, [eax + eax*4 - 5]
lea ebx, [ecx + eax*8]
push str..reloc
push ebx
mov dword [edx + 0xa4], esi
call fcn.004ff027
add esp, 8
test eax, eax
jne 0x4cda3c
lea eax, [esi + 8]
mov dword [ebx + 8], eax
add eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x30]
mov dword [ebx + 0x10], eax
mov esi, dword [ebp - 4]
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
lea eax, [eax + eax*4 - 5]
mov edx, dword [ecx + eax*8 + 0xc]
add edx, dword [ecx + eax*8 + 8]
lea eax, [ecx + eax*8]
mov ecx, dword [esi + 0x1c]
mov eax, dword [ebp - 0x34]
add ecx, ebx
add ecx, dword [ebp + 0x10]
add edx, ebx
and edx, eax
and ecx, eax
mov dword [esi + 0x50], edx
mov dword [esi + 0x1c], ecx
call fcn.00502ef3
mov edx, dword [ebp - 0x20]
mov word [esi + 0x44], ax
mov edx, dword [edx + 0x54]
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x4cdaa9
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
mov edi, edi
cmp dword [ecx], 0
je 0x4cda9a
mov dword [ecx], edx
add edx, dword [ecx - 4]
movzx ebx, word [esi + 6]
inc eax
add ecx, 0x28
cmp eax, ebx
jb 0x4cda90
mov ebx, dword [ebp - 0x28]
call fcn.00502ef3
xor edx, edx
div dword [ebp - 0xc]
shr ebx, 2
shr edx, 1
cmp edx, ebx
jae 0x4cdabe
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax + 0xc]
add esi, dword [ebp - 0x10]
add esi, edx
mov dword [ebp - 0x34], esi
call fcn.00502ef3
mov ebx, eax
and ebx, 0x8000001f
jns 0x4cdae0
dec ebx
or ebx, 0xffffffe0
inc ebx
mov byte [esi], 0x60
inc esi
add ebx, 0x10
js 0x4cdc60
lea ecx, [ecx]
call fcn.00502ef3
cdq
mov ecx, 0x14
idiv ecx
cmp edx, 0x13
ja case.default.0x4cdb06
jmp dword [edx*4 + 0x4cde5c]
push ebx
call fcn.004808a0
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi], 0xb8
call fcn.00502ef3
mov dword [esi + 1], eax
add esi, 5
sub ebx, 5
jmp 0x4cdc58
mov byte [esi], 0xbb
call fcn.00502ef3
mov dword [esi + 1], eax
add esi, 5
sub ebx, 5
jmp 0x4cdc58
mov byte [esi], 0xb9
call fcn.00502ef3
mov dword [esi + 1], eax
add esi, 5
sub ebx, 5
jmp 0x4cdc58
mov byte [esi], 0xba
call fcn.00502ef3
mov dword [esi + 1], eax
add esi, 5
sub ebx, 5
jmp 0x4cdc58
mov word [esi], 0xc083
call fcn.00502ef3
mov byte [esi + 2], al
add esi, 3
sub ebx, 3
jmp 0x4cdc58
mov word [esi], 0xc383
call fcn.00502ef3
mov byte [esi + 2], al
add esi, 3
sub ebx, 3
jmp 0x4cdc58
mov word [esi], 0xc183
call fcn.00502ef3
mov byte [esi + 2], al
add esi, 3
sub ebx, 3
jmp 0x4cdc58
mov word [esi], 0xc283
call fcn.00502ef3
mov byte [esi + 2], al
add esi, 3
sub ebx, 3
jmp 0x4cdc58
mov word [esi], 0xe883
call fcn.00502ef3
mov byte [esi + 2], al
add esi, 3
sub ebx, 3
jmp 0x4cdc58
mov word [esi], 0xeb83
call fcn.00502ef3
mov byte [esi + 2], al
add esi, 3
sub ebx, 3
jmp 0x4cdc58
mov word [esi], 0xe983
call fcn.00502ef3
mov byte [esi + 2], al
add esi, 3
sub ebx, 3
jmp 0x4cdc58
mov word [esi], 0xea83
call fcn.00502ef3
mov byte [esi + 2], al
add esi, 3
sub ebx, 3
jmp 0x4cdc58
mov byte [esi], 0x40
jmp 0x4cdc56
mov byte [esi], 0x43
jmp 0x4cdc56
mov byte [esi], 0x41
jmp 0x4cdc56
mov byte [esi], 0x42
jmp 0x4cdc56
mov byte [esi], 0x48
jmp 0x4cdc56
mov byte [esi], 0x4b
jmp 0x4cdc56
mov byte [esi], 0x49
jmp 0x4cdc56
mov byte [esi], 0x4a
jmp 0x4cdc56
mov byte [esi], 0x90
inc esi
dec ebx
test ebx, ebx
jns 0x4cdaf0
test edi, edi
je 0x4cdcef
mov ebx, dword [edi + 0x28]
mov edx, dword [ebp - 4]
sub ebx, dword [edx + 0x34]
call fcn.00502ef3
mov dword [edi + 0x28], eax
call fcn.00502ef3
and eax, 0x8000001f
jns 0x4cdc8a
dec eax
or eax, 0xffffffe0
inc eax
mov edx, dword [ebp - 0x10]
mov byte [esi], 0x68
add eax, 0x20
lea ecx, [eax + 1]
mov dword [esi + 1], ecx
mov byte [esi + 5], 0xe8
add esi, 6
sub ebx, esi
lea ecx, [ebx + edx - 4]
mov dword [esi], ecx
mov byte [esi + 4], 0x58
add esi, 5
mov byte [esi], 0xc3
add esi, eax
mov byte [esi], 0x58
call fcn.00502ef3
mov ebx, dword [edi + 0x14]
mov edx, dword [ebp - 4]
mov dword [edi], eax
sub ebx, dword [edx + 0x34]
call fcn.00502ef3
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x10]
mov byte [esi + 1], 0x68
mov dword [esi + 2], ebx
mov byte [esi + 6], 0xe8
add esi, 7
sub ebx, esi
lea ecx, [ebx + eax - 4]
mov dword [esi], ecx
mov byte [esi + 4], 0x58
add esi, 5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov word [esi], 0xe961
mov edi, dword [edx + 0x28]
add esi, 2
mov eax, ecx
sub eax, esi
lea eax, [eax + edi - 4]
mov dword [esi], eax
mov eax, dword [ebp - 0x34]
sub eax, ecx
mov dword [edx + 0x28], eax
jmp 0x4cdd31
mov ecx, dword [esi + 0x50]
push ecx
call fcn.00480850
mov edx, dword [esi + 0x50]
push edx
push edi
push eax
mov dword [ebp - 0x10], eax
call fcn.004fe210
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, ecx
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x4cddf3
cmp dword [eax + 0x7c], 0
je 0x4cddf3
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + edx + 0xc]
test ecx, ecx
je 0x4cddf3
mov eax, edx
cmp byte [ecx + eax], 0
lea esi, [ecx + eax]
je 0x4cddf3
lea esp, [esp]
cmp byte [esi], 0x2e
je 0x4cddf3
call fcn.00502ef3
cdq
mov ecx, 0x1a
idiv ecx
inc esi
add dl, 0x61
mov byte [esi - 1], dl
cmp byte [esi], 0
jne 0x4cdd70
jmp 0x4cddf3
mov edx, dword [esi + 0x50]
push edx
call fcn.00480850
mov ebx, eax
mov eax, dword [esi + 0x50]
push eax
push edi
push ebx
mov dword [ebp - 0x10], ebx
call fcn.004fe210
mov edi, dword [edi + 0x3c]
mov eax, dword [edi + ebx + 0x88]
add esp, 0x10
test eax, eax
je 0x4cddf3
cmp dword [edi + ebx + 0x8c], 0
je 0x4cddf3
mov eax, dword [eax + ebx + 0xc]
test eax, eax
je 0x4cddf3
cmp byte [eax + ebx], 0
lea esi, [eax + ebx]
je 0x4cddf3
cmp byte [esi], 0x2e
je 0x4cddf3
call fcn.00502ef3
cdq
mov ecx, 0x1a
idiv ecx
inc esi
add dl, 0x61
mov byte [esi - 1], dl
cmp byte [esi], 0
jne 0x4cddd5
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0x3c]
lea edi, [esi + 0x40]
add ecx, esi
mov eax, edi
cmp eax, ecx
jae 0x4cde50
cmp dword [eax], 0x68636952
je 0x4cde1c
add eax, 4
cmp eax, ecx
jb 0x4cde04
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, eax
jae 0x4cde50
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov ebx, dword [edi]
xor ebx, edx
cmp ebx, 0x536e6144
je 0x4cde42
add edi, 4
cmp edi, eax
jb 0x4cde26
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, ecx
ja 0x4cde50
sub ecx, edi
shr ecx, 2
inc ecx
xor eax, eax
rep stosd dword es:[edi], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret