Function at 0x41ca10
Capabilities:
Terminate process

Disassembly:
sub esp, 0x42c
push ebx
push ebp
push esi
mov esi, 0x496630
push edi
mov ebp, ecx
mov dword [esp + 0x10], esi
call fcn.0041a040
test eax, eax
je 0x41ca4f
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x41ca3f
push eax
call fcn.004640e0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x42c
ret
mov eax, dword [ebp + 0x3c]
mov bl, 0x65
mov dl, 0x6e
mov cl, byte [eax]
cmp cl, 0x23
jne 0x41ccd0
cmp byte [eax + 1], 0x64
jne 0x41cbb3
cmp byte [eax + 2], bl
jne 0x41cbb3
cmp byte [eax + 3], 0x66
jne 0x41cbb3
cmp byte [eax + 4], 0x69
jne 0x41cbb3
cmp byte [eax + 5], dl
jne 0x41cbb3
cmp byte [eax + 6], bl
jne 0x41cbb3
add eax, 7
mov ecx, ebp
mov dword [ebp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
mov dword [ebp + 0x54], 1
call fcn.0041a740
lea ecx, [esp + 0x18]
mov dword [ebp + 0x54], 0
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], esi
call fcn.0041a660
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x41cb13
mov edx, dword [ebp + 0x2c]
lea edx, [edx + edi*8]
mov esi, dword [esp + 0x10]
mov eax, dword [edx - 8]
dec edi
sub edx, 8
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x41cb06
test cl, cl
je 0x41cb02
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x41cb06
add eax, 2
add esi, 2
test cl, cl
jne 0x41cae2
xor eax, eax
jmp 0x41cb0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41cb64
test edi, edi
jne 0x41cad7
mov edx, dword [esp + 0x18]
push ecx
mov eax, esp
mov cl, byte [edx]
mov dword [esp + 0x18], eax
test cl, cl
je 0x41cb7b
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov esi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea edx, [ebx + 1]
push edx
call fcn.004640eb
mov ecx, dword [esp + 0x1c]
mov edi, eax
add esp, 4
mov dword [ecx], eax
mov ecx, ebx
mov edx, ecx
mov eax, dword [esp + 0x18]
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, dword [eax]
mov byte [ebx + ecx], 0
jmp 0x41cb81
test edi, edi
jl 0x41cb13
mov ecx, dword [ebp + 0x2c]
lea eax, [esp + 0x18]
push eax
lea ecx, [ecx + edi*8 + 4]
call fcn.00405080
jmp 0x41cb96
mov dword [eax], 0x496630
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
push edx
call fcn.00406cc0
lea ecx, [ebp + 0x20]
call fcn.0041ec60
mov eax, dword [esp + 0x18]
cmp eax, 0x496630
je 0x41d429
push eax
call fcn.004640e0
add esp, 4
jmp 0x41d429
cmp cl, 0x23
jne 0x41ccd0
cmp byte [eax + 1], 0x75
jne 0x41ccd0
cmp byte [eax + 2], dl
jne 0x41ccd0
cmp byte [eax + 3], 0x64
jne 0x41ccd0
cmp byte [eax + 4], bl
jne 0x41ccd0
cmp byte [eax + 5], 0x66
jne 0x41ccd0
add eax, 6
mov ecx, ebp
mov dword [ebp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
mov dword [ebp + 0x54], 1
call fcn.0041a740
mov dword [ebp + 0x54], 0
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x41cc55
mov ecx, dword [ebp + 0x2c]
lea edx, [ecx + edi*8]
mov esi, dword [esp + 0x10]
mov eax, dword [edx - 8]
dec edi
sub edx, 8
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x41cc48
test cl, cl
je 0x41cc44
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x41cc48
add eax, 2
add esi, 2
test cl, cl
jne 0x41cc24
xor eax, eax
jmp 0x41cc4d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41cc6c
test edi, edi
jne 0x41cc19
push 0
push str.undef_parameters
push 4
mov ecx, ebp
call fcn.00419f70
push 1
call fcn.00465bed
test edi, edi
jl 0x41cc55
mov eax, dword [ebp + 0x24]
mov esi, edi
cmp edi, eax
jge 0x41cca7
dec eax
cmp edi, eax
mov dword [ebp + 0x24], eax
jge 0x41cca7
mov eax, dword [ebp + 0x2c]
lea edi, [eax + esi*8 + 8]
lea ebx, [eax + esi*8]
push edi
mov ecx, ebx
call fcn.00405080
add edi, 4
lea ecx, [ebx + 4]
push edi
call fcn.00405080
mov eax, dword [ebp + 0x24]
inc esi
cmp esi, eax
jl 0x41cc81
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x41d429
mov ecx, dword [ebp + 0x2c]
xor esi, esi
cmp ecx, esi
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x24], esi
je 0x41ccc8
push 3
call fcn.0041ee20
mov dword [ebp + 0x2c], esi
jmp 0x41d429
push str.include
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
je 0x41cec3
mov esi, dword [ebp + 0x30]
cmp byte [esi], 0
je 0x41cd26
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea edx, [ebx + 1]
push edx
call fcn.004640eb
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov byte [ebx + ecx], 0
jmp 0x41cd2e
mov dword [esp + 0x18], 0x496630
mov eax, dword [ebp + 0x3c]
mov cl, byte [eax]
cmp cl, 0x22
je 0x41cd54
cmp cl, 0x3c
je 0x41cd54
push 0
push str.include_file_name
push 0xd
mov ecx, ebp
call fcn.00419f70
push 1
call fcn.00465bed
inc eax
xor edx, edx
mov dword [ebp + 0x3c], eax
mov cl, byte [eax]
cmp cl, 0x22
je 0x41cd7b
cmp cl, 0x3e
je 0x41cd7b
cmp eax, dword [ebp + 0x40]
jae 0x41cdb5
mov byte [esp + edx + 0x3c], cl
inc edx
inc eax
mov dword [ebp + 0x3c], eax
mov cl, byte [eax]
cmp cl, 0x22
jne 0x41cd61
mov ebx, dword [ebp + 0x3c]
mov byte [esp + edx + 0x3c], 0
lea edx, [esp + 0x3c]
inc ebx
push 0x488a7c
push edx
mov dword [ebp + 0x3c], ebx
call fcn.0046449c
mov edi, eax
add esp, 8
test edi, edi
jne 0x41cdcc
push eax
lea eax, [esp + 0x40]
push eax
push 7
mov ecx, ebp
call fcn.00419f70
push 1
call fcn.00465bed
push 0
push str.End_of_file
push 0xa
mov ecx, ebp
call fcn.00419f70
push 1
call fcn.00465bed
mov ecx, dword [edi + 0x10]
push ecx
call fcn.00464404
mov edx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x48]
mov ebx, dword [ebp + 0x44]
mov esi, eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x4c]
mov dword [esp + 0x38], eax
lea eax, [esi + 0x1000]
mov dword [esp + 0x3c], ecx
push eax
mov dword [esp + 0x24], edx
call fcn.004640eb
add esp, 8
mov dword [ebp + 0x44], eax
test eax, eax
jne 0x41ce22
push eax
push 0x489f64
push 2
mov ecx, ebp
call fcn.00419f70
push 1
call fcn.00465bed
add eax, 0xfe2
push edi
push 1
push esi
lea ecx, [eax + esi]
push eax
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], ecx
call fcn.004642c6
add esp, 0x10
lea edx, [esp + 0x3c]
xor esi, esi
lea ecx, [ebp + 0x30]
push edx
mov dword [ebp + 0x48], esi
call fcn.00405100
mov ecx, ebp
mov dword [ebp + 0x4c], esi
call fcn.0041ca10
test eax, eax
jne 0x41ce68
mov ecx, ebp
call fcn.0041ca10
test eax, eax
je 0x41ce5d
push edi
call fcn.004643ae
mov eax, dword [ebp + 0x44]
push eax
call fcn.004640e0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [ebp + 0x3c], ecx
mov ecx, dword [esp + 0x24]
add esp, 8
mov dword [ebp + 0x40], edx
lea edx, [esp + 0x18]
mov dword [ebp + 0x4c], ecx
push edx
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], eax
call fcn.00405080
mov eax, dword [esp + 0x18]
cmp eax, 0x496630
je 0x41d429
push eax
call fcn.004640e0
add esp, 4
jmp 0x41d429
push str.extern
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
je 0x41d0c8
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x18], ebx
call fcn.0041a740
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x41cf3a
mov edx, dword [ebp + 0x1c]
lea ecx, [edi + edi*2]
lea edx, [edx + ecx*8]
mov esi, dword [esp + 0x10]
mov eax, dword [edx - 0x18]
dec edi
sub edx, 0x18
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x41cf29
test cl, cl
je 0x41cf25
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x41cf29
add eax, 2
add esi, 2
test cl, cl
jne 0x41cf05
xor eax, eax
jmp 0x41cf2e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41cf66
test edi, edi
jne 0x41cefa
mov ebx, dword [esp + 0x14]
mov esi, dword [ebp + 4]
push 0x489e2c
mov ecx, ebp
mov dword [esp + 0x30], esi
call fcn.0041a880
push 0x489e40
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
je 0x41cf81
mov ecx, ebp
call fcn.0041aa00
jmp 0x41cf98
test edi, edi
jl 0x41cf36
push 0
push str.function_redefinition
push 0xa
mov ecx, ebp
call fcn.00419f70
push 1
call fcn.00465bed
push str.string
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
je 0x41cf98
mov ecx, ebp
call fcn.0041ad80
push 0x489cb0
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
jne 0x41cf4d
push 0x489df8
mov ecx, ebp
call fcn.0041a880
mov eax, dword [ebp + 4]
mov ecx, ebp
sub eax, esi
mov dword [esp + 0x30], eax
call fcn.0041a8b0
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x3c]
movsx ecx, byte [eax - 1]
push ecx
call fcn.004658e6
add esp, 4
test eax, eax
jne 0x41cff2
push eax
push str.extern_function_code
push 0xd
mov ecx, ebp
call fcn.00419f70
push 1
call fcn.00465bed
xor edi, edi
cmp ebx, edi
jg 0x41d027
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x18], edi
cmp eax, edi
mov dword [ebp + 0x14], edi
je 0x41d022
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push 0x41eef0
push edx
push 0x18
push eax
call fcn.00401030
push esi
call fcn.004640e0
add esp, 4
mov dword [ebp + 0x1c], edi
jmp 0x41d02f
cmp ebx, dword [ebp + 0x14]
jge 0x41d02f
mov dword [ebp + 0x14], ebx
sub esp, 0x14
mov ebx, esp
mov byte [ebx], 2
mov al, byte [0x496630]
test al, al
je 0x41d086
mov edi, 0x496630
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov dword [esp + 0x30], esi
lea eax, [esi + 1]
push eax
call fcn.004640eb
mov ecx, esi
mov esi, 0x496630
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [ebx + 4], eax
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov ecx, edx
mov byte [eax + ecx], 0
jmp 0x41d08d
mov dword [ebx + 4], 0x496630
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0xc], edx
push ecx
mov dword [ebx + 0x10], ecx
lea edx, [esp + 0x28]
mov ecx, esp
push edx
mov dword [ebx + 8], eax
call fcn.00406cc0
lea ecx, [ebp + 0x10]
call fcn.0041eb10
push 0x488c0c
mov ecx, ebp
call fcn.0041a880
jmp 0x41d429
push str.static
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
push 0x489e40
mov ecx, ebp
je 0x41d163
call fcn.0041a7f0
test eax, eax
je 0x41d114
mov ecx, ebp
call fcn.0041aa00
push 0x489cb0
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
jne 0x41d0ec
push 0x488c0c
mov ecx, ebp
call fcn.0041a880
jmp 0x41d429
push str.string
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
je 0x41d14c
mov ecx, ebp
call fcn.0041ad80
push 0x489cb0
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
jne 0x41d124
push 0x488c0c
mov ecx, ebp
call fcn.0041a880
jmp 0x41d429
push 0
push str.static_variable
push 4
mov ecx, ebp
call fcn.00419f70
push 1
call fcn.00465bed
call fcn.0041a7f0
test eax, eax
je 0x41d194
mov ecx, ebp
call fcn.0041aa00
push 0x489cb0
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
jne 0x41d16c
push 0x488c0c
mov ecx, ebp
call fcn.0041a880
jmp 0x41d429
push str.string
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
je 0x41d1cc
mov ecx, ebp
call fcn.0041ad80
push 0x489cb0
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
jne 0x41d1a4
push 0x488c0c
mov ecx, ebp
call fcn.0041a880
jmp 0x41d429
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x18], ebx
call fcn.0041a740
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x41d22f
mov edx, dword [ebp + 0x1c]
lea ecx, [edi + edi*2]
lea edx, [edx + ecx*8]
mov esi, dword [esp + 0x10]
mov eax, dword [edx - 0x18]
dec edi
sub edx, 0x18
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x41d21e
test cl, cl
je 0x41d21a
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x41d21e
add eax, 2
add esi, 2
test cl, cl
jne 0x41d1fa
xor eax, eax
jmp 0x41d223
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41d262
test edi, edi
jne 0x41d1ef
mov ebx, dword [esp + 0x14]
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 0x38]
push 0x489e2c
mov ecx, ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
call fcn.0041a880
push 0x489e40
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
je 0x41d27d
mov ecx, ebp
call fcn.0041aa00
jmp 0x41d294
test edi, edi
jl 0x41d22b
push 0
push str.function_redefinition
push 0xa
mov ecx, ebp
call fcn.00419f70
push 1
call fcn.00465bed
push str.string
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
je 0x41d294
mov ecx, ebp
call fcn.0041ad80
push 0x489cb0
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
jne 0x41d249
push 0x489df8
mov ecx, ebp
call fcn.0041a880
mov eax, dword [ebp + 4]
push 0x489cb4
sub eax, esi
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.0041a880
push 0x489cac
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
jne 0x41d2ee
push 0
mov ecx, ebp
call fcn.0041c340
push 0x489cac
mov ecx, ebp
call fcn.0041a7f0
test eax, eax
je 0x41d2d5
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x38]
xor eax, eax
mov byte [ecx + edx], 0x1f
mov edx, dword [ebp + 0x38]
inc edx
cmp ebx, eax
mov dword [ebp + 0x38], edx
jg 0x41d358
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 0x18], eax
cmp ecx, eax
mov dword [ebp + 0x14], eax
je 0x41d34f
mov eax, dword [ecx - 4]
lea edx, [ecx - 4]
mov dword [esp + 0x1c], edx
lea esi, [eax + eax*2]
dec eax
lea esi, [ecx + esi*8]
js 0x41d346
lea edi, [esi + 8]
lea ebx, [eax + 1]
sub edi, 0x18
sub esi, 0x18
mov ecx, edi
call fcn.00431b90
mov ecx, esi
call fcn.00431b90
dec ebx
jne 0x41d32b
mov edx, dword [esp + 0x1c]
push edx
call fcn.004640e0
add esp, 4
mov dword [ebp + 0x1c], 0
jmp 0x41d360
cmp ebx, dword [ebp + 0x14]
jge 0x41d360
mov dword [ebp + 0x14], ebx
sub esp, 0x14
mov ebx, esp
mov byte [ebx], 3
mov al, byte [0x496630]
test al, al
je 0x41d3b7
mov edi, 0x496630
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov dword [esp + 0x30], esi
lea eax, [esi + 1]
push eax
call fcn.004640eb
mov ecx, esi
mov esi, 0x496630
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [ebx + 4], eax
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov ecx, edx
mov byte [eax + ecx], 0
jmp 0x41d3be
mov dword [ebx + 4], 0x496630
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0xc], edx
push ecx
mov dword [ebx + 0x10], ecx
lea edx, [esp + 0x28]
mov ecx, esp
push edx
mov dword [ebx + 8], eax
call fcn.00406cc0
lea ecx, [ebp + 0x10]
call fcn.0041eb10
mov eax, dword [esp + 0x10]
mov esi, str.main
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41d419
test cl, cl
je 0x41d415
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41d419
add eax, 2
add esi, 2
test cl, cl
jne 0x41d3f1
xor eax, eax
jmp 0x41d41e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41d429
mov eax, dword [ebp + 0x14]
dec eax
mov dword [ebp + 0x50], eax
mov ecx, ebp
call fcn.0041a040
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, 0x496630
je 0x41d446
push eax
call fcn.004640e0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x42c
ret