Function at 0x403950
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x468c08]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], ebx
cmp esi, ebx
jne 0x40397b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x476bc4], ebx
jne 0x403af3
mov edi, dword [sym.imp.MSVCR100.dll_fputc]
mov esi, dword [sym.imp.MSVCR100.dll_fprintf]
cmp dword [0x4a5b4c], ebx
je 0x4039ab
mov ecx, dword [0x489ad0]
push str._br__n
push ecx
call esi
jmp 0x4039b6
mov edx, dword [0x489ad0]
push edx
push 0xa
call edi
mov eax, dword [0x489ad0]
add esp, 8
push str.At_the_moment__we_cant_use_a_character_level_1_ID_n
push eax
call esi
add esp, 8
cmp dword [0x4a5b4c], ebx
je 0x4039e1
mov ecx, dword [0x489ad0]
push str._br__n
push ecx
call esi
jmp 0x4039ec
mov edx, dword [0x489ad0]
push edx
push 0xa
call edi
add esp, 8
cmp dword [0x4a5b3c], ebx
je 0x403a69
cmp dword [0x489ad0], ebx
je 0x403a69
push str.stdout
push 0x476be0
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x403a41
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll__ftelli64]
mov ecx, dword [0x489ad0]
add esp, 4
push edx
push eax
push ecx
call dword [sym.imp.MSVCR100.dll__fileno]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__chsize_s]
add esp, 0xc
cmp dword [0x4a5b4c], ebx
je 0x403a5a
mov edx, dword [0x489ad0]
push str.__body___html__n
push edx
call esi
add esp, 8
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
call fcn.0040a1a0
mov ecx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
inc dword [0x468ff8]
push ecx
call esi
mov edx, dword [0x4899d8]
add esp, 4
push edx
call esi
mov eax, dword [0x4802bc]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802cc]
add esp, 4
push ecx
call esi
mov edx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push edx
call esi
mov eax, dword [0x4899d8]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802bc]
add esp, 4
push ecx
call esi
mov edx, dword [0x4802cc]
add esp, 4
push edx
call esi
add esp, 4
cmp dword [0x468ff8], ebx
je 0x403aeb
call fcn.00409900
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
lea edi, [esi*8]
call fcn.00409ea0
mov edi, dword [0x489ac8]
mov dword [esp + 0x30], eax
cmp esi, ebx
jle 0x403d24
mov eax, dword [esp + 0x34]
mov ebx, 1
dec esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x24], esi
nop
mov edx, dword [ebp + 0xc]
lea eax, [ebx - 1]
mov ecx, eax
imul ecx, edi
lea edx, [edx + ecx*8]
mov ecx, dword [0x4a5b54]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x20], ecx
fld qword [ecx + edx]
mov esi, ebx
mov dword [esp + 0x14], eax
cmp ebx, dword [ebp + 8]
jge 0x403cfe
cmp dword [esp + 0x24], 4
jl 0x403c3c
mov eax, ebx
imul eax, edi
lea eax, [ecx + eax*8]
add eax, dword [ebp + 0xc]
mov edx, edi
mov dword [esp + 0x18], eax
lea eax, [ebx + 2]
mov ebx, dword [esp + 0x20]
lea ecx, [eax + 1]
imul eax, edi
imul ecx, edi
lea ebx, [ebx + ecx*8]
mov ecx, dword [ebp + 0xc]
add ebx, ecx
mov dword [esp + 0x1c], ebx
mov ebx, dword [0x4a5b54]
add ebx, ebx
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x20], ebx
lea ebx, [ebx + eax*8]
add ebx, ecx
mov ecx, dword [esp + 0x28]
imul ecx, edi
add ecx, dword [esp + 0x20]
shl edx, 5
add ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
fcom qword [eax]
fnstsw ax
test ah, 0x41
jne 0x403bdb
mov eax, dword [esp + 0x18]
fstp st(0)
fld qword [eax]
mov dword [esp + 0x14], esi
fcom qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x403bef
lea eax, [esi + 1]
fstp st(0)
fld qword [ecx]
mov dword [esp + 0x14], eax
fcom qword [ebx]
fnstsw ax
test ah, 0x41
jne 0x403c03
lea eax, [esi + 2]
fstp st(0)
fld qword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
fcom qword [eax]
fnstsw ax
test ah, 0x41
jne 0x403c1f
lea eax, [esi + 3]
fstp st(0)
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
fld qword [eax]
mov eax, dword [ebp + 8]
add dword [esp + 0x18], edx
add dword [esp + 0x1c], edx
add esi, 4
add eax, 0xfffffffd
add ecx, edx
add ebx, edx
cmp esi, eax
jl 0x403bc2
mov ebx, dword [esp + 0x38]
cmp esi, dword [ebp + 8]
jge 0x403c77
mov eax, dword [0x4a5b54]
mov ecx, edi
imul ecx, esi
add eax, eax
add eax, eax
add eax, eax
lea ecx, [eax + ecx*8]
add ecx, dword [ebp + 0xc]
lea edx, [edi*8]
fcom qword [ecx]
fnstsw ax
test ah, 0x41
jne 0x403c6f
fstp st(0)
mov dword [esp + 0x14], esi
fld qword [ecx]
inc esi
add ecx, edx
cmp esi, dword [ebp + 8]
jl 0x403c5e
lea eax, [ebx - 1]
fstp st(0)
cmp dword [esp + 0x14], eax
je 0x403d00
mov eax, dword [esp + 0x30]
lea edx, [edi*8]
mov edi, dword [esp + 0x3c]
push edx
push edi
push eax
call sub.MSVCR100.dll_memcpy
mov eax, dword [0x489ac8]
mov esi, dword [esp + 0x20]
mov edx, dword [ebp + 0xc]
lea ecx, [eax*8]
imul eax, esi
add esp, 0xc
push ecx
lea eax, [edx + eax*8]
push eax
push edi
call sub.MSVCR100.dll_memcpy
mov eax, dword [0x489ac8]
mov edx, dword [esp + 0x3c]
lea ecx, [eax*8]
imul eax, esi
add esp, 0xc
push ecx
mov ecx, dword [ebp + 0xc]
push edx
lea edx, [ecx + eax*8]
push edx
call sub.MSVCR100.dll_memcpy
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov edi, dword [edx + esi*4]
mov ecx, dword [eax]
mov dword [eax], edi
mov dword [edx + esi*4], ecx
mov edi, dword [0x489ac8]
add esp, 0xc
jmp 0x403d00
fstp st(0)
dec dword [esp + 0x24]
add dword [esp + 0x28], 8
add dword [esp + 0x2c], 4
inc ebx
lea eax, [ebx - 1]
mov dword [esp + 0x38], ebx
cmp eax, dword [ebp + 8]
jl 0x403b30
mov esi, dword [ebp + 8]
xor ebx, ebx
fld qword [0x4a5b10]
mov dword [esp + 0x14], ebx
cmp esi, ebx
jle 0x403d41
mov edi, dword [ebp + 0x14]
mov ecx, esi
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [0x489ac8]
mov dword [esp + 0x18], ebx
cmp esi, 4
jl 0x403e7e
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
add ecx, 0xfffffffd
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0x14]
or edx, 0xffffffff
add ecx, 0xfffffffc
lea ebx, [edx + 3]
add esi, 8
imul edi, dword [esp + 0x18]
add edi, dword [0x4a5b54]
mov eax, dword [ebp + 0xc]
fld qword [eax + edi*8]
fld st(0)
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x403d9e
mov eax, 1
fstp st(1)
add dword [esp + 0x10], eax
add dword [esp + 0x14], eax
add ecx, 4
add edx, eax
jmp 0x403da0
fstp st(0)
mov edi, dword [ebp + 0xc]
mov dword [esi - 8], edx
inc dword [ecx]
lea eax, [ebx - 1]
imul eax, dword [0x489ac8]
add eax, dword [0x4a5b54]
fld qword [edi + eax*8]
fld st(0)
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x403dde
mov eax, 1
fstp st(1)
add dword [esp + 0x10], eax
add dword [esp + 0x14], eax
add ecx, 4
add edx, eax
jmp 0x403de0
fstp st(0)
mov dword [esi - 4], edx
inc dword [ecx]
mov eax, ebx
imul eax, dword [0x489ac8]
add eax, dword [0x4a5b54]
fld qword [edi + eax*8]
fld st(0)
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x403e1a
mov eax, 1
fstp st(1)
add dword [esp + 0x10], eax
add dword [esp + 0x14], eax
add ecx, 4
add edx, eax
jmp 0x403e1c
fstp st(0)
mov dword [esi], edx
inc dword [ecx]
lea eax, [ebx + 1]
imul eax, dword [0x489ac8]
add eax, dword [0x4a5b54]
fld qword [edi + eax*8]
fld st(0)
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x403e56
mov eax, 1
fstp st(1)
add dword [esp + 0x10], eax
add dword [esp + 0x14], eax
add ecx, 4
add edx, eax
jmp 0x403e58
fstp st(0)
mov eax, dword [esp + 0x18]
mov dword [esi + 4], edx
inc dword [ecx]
mov edi, dword [0x489ac8]
add eax, 4
add esi, 0x10
add ebx, 4
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x3c]
jl 0x403d6a
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebp + 8]
jge 0x403ed7
mov esi, dword [esp + 0x14]
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x10]
mov ebx, dword [ebp + 0x10]
dec esi
lea edx, [edx + eax*4 - 4]
jmp 0x403ea2
mov edi, dword [0x489ac8]
mov eax, dword [ebp + 0xc]
imul edi, ecx
add edi, dword [0x4a5b54]
fld qword [eax + edi*8]
fld st(0)
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x403eca
inc dword [esp + 0x10]
fstp st(1)
inc esi
add edx, 4
jmp 0x403ecc
fstp st(0)
mov dword [ebx + ecx*4], esi
inc dword [edx]
inc ecx
cmp ecx, dword [ebp + 8]
jl 0x403e9c
mov edi, dword [esp + 0x10]
fstp st(0)
mov esi, dword [ebp + 0x14]
xor eax, eax
test edi, edi
jle 0x403f04
mov edx, dword [0x468ac0]
lea esp, [esp]
mov ecx, dword [esi + eax*4]
cmp edx, ecx
jg 0x403ef9
mov edx, ecx
inc eax
cmp eax, edi
jl 0x403ef0
mov dword [0x468ac0], edx
xor ecx, ecx
xor edx, edx
xor eax, eax
xor ebx, ebx
cmp edi, 2
jl 0x403f24
mov edi, dword [esp + 0x10]
dec edi
add ecx, dword [esi + eax*4]
add edx, dword [esi + eax*4 + 4]
add eax, 2
cmp eax, edi
jl 0x403f16
mov edi, dword [esp + 0x10]
cmp eax, edi
jge 0x403f2f
mov ebx, dword [esi + eax*4]
add edx, ecx
add edx, ebx
cmp edx, dword [ebp + 8]
je 0x4040e4
cmp dword [0x4a5b4c], 0
mov edi, dword [sym.imp.MSVCR100.dll_fputc]
mov esi, dword [sym.imp.MSVCR100.dll_fprintf]
je 0x403f61
mov ecx, dword [0x489ad0]
push str._br__n
push ecx
call esi
jmp 0x403f6c
mov edx, dword [0x489ad0]
push edx
push 0xa
call edi
mov eax, dword [0x489ad0]
add esp, 8
push str.Bad_N_p_
push eax
call esi
add esp, 8
cmp dword [0x4a5b4c], 0
je 0x403f98
mov ecx, dword [0x489ad0]
push str._br__n
push ecx
call esi
jmp 0x403fa3
mov edx, dword [0x489ad0]
push edx
push 0xa
call edi
add esp, 8
cmp dword [0x4a5b3c], 0
je 0x404023
cmp dword [0x489ad0], 0
je 0x404023
push str.stdout
push 0x476be0
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x403ffa
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll__ftelli64]
mov ecx, dword [0x489ad0]
add esp, 4
push edx
push eax
push ecx
call dword [sym.imp.MSVCR100.dll__fileno]
add esp, 4
push eax
call dword [sym.imp.MSVCR100.dll__chsize_s]
add esp, 0xc
cmp dword [0x4a5b4c], 0
je 0x404014
mov edx, dword [0x489ad0]
push str.__body___html__n
push edx
call esi
add esp, 8
mov eax, dword [0x489ad0]
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
call fcn.0040a1a0
mov ecx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_remove]
inc dword [0x468ff8]
push ecx
call esi
mov edx, dword [0x4899d8]
add esp, 4
push edx
call esi
mov eax, dword [0x4802bc]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802cc]
add esp, 4
push ecx
call esi
mov edx, dword [0x469488]
mov esi, dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push edx
call esi
mov eax, dword [0x4899d8]
add esp, 4
push eax
call esi
mov ecx, dword [0x4802bc]
add esp, 4
push ecx
call esi
mov edx, dword [0x4802cc]
add esp, 4
push edx
call esi
add esp, 4
cmp dword [0x468ff8], 0
je 0x4040dc
mov edi, dword [sym.imp.MSVCR100.dll_clock]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
lea esp, [esp]
call edi
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
cmp eax, 3
jbe 0x4040c0
push 0x64
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4040f6
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret