Function at 0x1000a5a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
mov eax, dword [0x10022994]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x368], edi
mov dword [ebp - 0x364], edi
call fcn.100010b0
push edi
push edi
call fcn.100170a0
push edi
push 3
call fcn.100170a0
call fcn.1000c4d0
push edi
push 0x10025900
call sub.MSVCR100.dll__setjmp3
add esp, 0x18
mov dword [ebp - 0x36c], eax
cmp eax, edi
jne 0x1000b096
mov esi, dword [sym.imp.MSVCR100.dll_malloc]
push 0x104
call esi
add esp, 4
mov dword [0x100257c4], eax
cmp eax, edi
jne 0x1000a625
push 0x67
call fcn.10016d80
add esp, 4
mov ecx, dword [0x10022964]
lea edx, [ecx*4]
push edx
call esi
add esp, 4
mov dword [0x100257c0], eax
cmp eax, edi
jne 0x1000a64b
push 0x67
call fcn.10016d80
add esp, 4
call fcn.10019ad0
test eax, eax
jne 0x1000a65e
push 0x67
call fcn.10016d80
add esp, 4
mov ecx, dword [ebp - 0x378]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x29c]
push eax
push ecx
push edx
lea edx, [ebp - 0x14]
lea esi, [ebp - 0x118]
mov ecx, 0x100259c0
mov ebx, 0x100257e0
call fcn.100061c0
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + 0x100257e0]
mov byte [eax + 0x10025ae0], cl
inc eax
test cl, cl
jne 0x1000a690
mov edi, dword [sym.imp.MSVCR100.dll_strrchr]
push 0x2e
push 0x10025ae0
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x1000a706
push 0x5c
push esi
call ebx
add esp, 8
test eax, eax
jne 0x1000a706
cmp esi, 0x10025ae0
je 0x1000a706
cmp byte [esi - 1], 0x5c
je 0x1000a706
test esi, esi
je 0x1000a706
push str..asm
push esi
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
jne 0x1000a706
push 1
push str..amx
push 0x10025ae0
call fcn.100011a0
add esp, 0xc
jmp 0x1000a759
push 0x2e
push 0x10025ae0
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x1000a736
push 0x5c
push esi
call ebx
add esp, 8
test eax, eax
jne 0x1000a736
cmp esi, 0x10025ae0
je 0x1000a736
cmp byte [esi - 1], 0x5c
je 0x1000a736
test esi, esi
jne 0x1000a759
mov eax, 0x10025ae0
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000a740
mov ecx, dword [str..amx]
mov dl, byte [0x1001e308]
mov dword [eax], ecx
mov byte [eax + 4], dl
cmp dword [0x10024198], 0
push 0x2e
push 0x100257e0
je 0x1000a7b6
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x1000a794
push 0x5c
push esi
call ebx
add esp, 8
test eax, eax
jne 0x1000a794
cmp esi, 0x100257e0
je 0x1000a794
cmp byte [esi - 1], 0x5c
je 0x1000a794
test esi, esi
je 0x1000a794
mov byte [esi], al
mov eax, 0x100257e0
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000a7a0
mov ecx, dword [str..lst]
mov dl, byte [0x1001e300]
jmp 0x1000a7fb
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x1000a7e1
push 0x5c
push esi
call ebx
add esp, 8
test eax, eax
jne 0x1000a7e1
cmp esi, 0x100257e0
je 0x1000a7e1
cmp byte [esi - 1], 0x5c
je 0x1000a7e1
test esi, esi
je 0x1000a7e1
mov byte [esi], al
mov eax, 0x100257e0
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000a7e7
mov ecx, dword [str..asm]
mov dl, byte [0x1001e064]
mov dword [eax], ecx
mov byte [eax + 4], dl
mov eax, 0x100259c0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000a808
sub eax, edx
je 0x1000a820
push 0x100259c0
call dword [sym.imp.MSVCR100.dll_remove]
jmp 0x1000a833
cmp dword [0x10021004], 0
jle 0x1000a836
push str.Pawn_compiler_3.2.3664_t__t__tCopyright__c__1997_2006__ITB_CompuPhase_n_n
call fcn.1001be30
add esp, 4
call fcn.10001240
mov ecx, dword [0x10024190]
mov al, byte [0x10022960]
mov edx, dword [0x10022970]
mov dword [ebp - 0x370], ecx
mov byte [0x10022961], al
mov eax, dword [0x1002297c]
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x374], edx
mov dword [ebp - 0x35c], eax
call fcn.10019e20
add esp, 4
test eax, eax
jne 0x1000a882
push 0x6c
call fcn.10016d80
add esp, 4
push 1
call fcn.1001ad20
add esp, 4
test eax, eax
je 0x1000a9b6
push str.pawn
push 0
call dword [sym.imp.MSVCR100.dll__tempnam]
mov ebx, eax
push ebx
mov dword [ebp - 0x360], ebx
call fcn.1001bf10
push 0
mov esi, eax
mov dword [ebp - 0x358], 0
call fcn.1001ad20
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1000a988
nop
push edi
call fcn.1001bef0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000a8fc
mov edx, dword [0x100257c4]
mov ecx, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x1000a8e7
push edi
push 0x64
call fcn.10016d80
add esp, 8
push 0x1001e2ec
push esi
call fcn.1001bf70
push edi
push esi
call fcn.1001bf70
push 0x1001db1c
push esi
call fcn.1001bf70
push ebx
call fcn.1001bfb0
add esp, 0x1c
test eax, eax
jne 0x1000a95c
jmp 0x1000a930
push 0x80
lea edx, [ebp - 0x198]
push edx
push ebx
call fcn.1001bf50
lea eax, [ebp - 0x198]
push eax
push esi
call fcn.1001bf70
push ebx
call fcn.1001bfb0
add esp, 0x18
test eax, eax
je 0x1000a930
push ebx
call fcn.1001bf30
mov eax, dword [ebp - 0x358]
inc eax
push eax
mov dword [ebp - 0x358], eax
call fcn.1001ad20
mov edi, eax
add esp, 8
test edi, edi
jne 0x1000a8d0
mov ebx, dword [ebp - 0x360]
push esi
call fcn.1001bf30
mov edx, dword [0x100257c4]
add esp, 4
mov ecx, ebx
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x1000a9a0
push ebx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
jmp 0x1000a9d0
push 0
call fcn.1001ad20
mov edx, dword [0x100257c4]
add esp, 4
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x1000a9c6
mov ecx, dword [0x100257c4]
push ecx
call fcn.1001bef0
add esp, 4
mov dword [0x10024248], eax
test eax, eax
jne 0x1000a9f9
mov edx, dword [0x100257c4]
push edx
push 0x64
call fcn.10016d80
add esp, 8
push 0x100257e0
mov dword [0x100241b0], 1
call fcn.1001bfc0
add esp, 4
mov dword [0x1002424c], eax
test eax, eax
jne 0x1000aa28
push 0x100257e0
push 0x65
call fcn.10016d80
add esp, 8
cmp dword [0x10024194], 0
jne 0x1000aa62
cmp dword [0x10024198], 0
jne 0x1000aa62
push 0x10025ae0
call fcn.1001c040
add esp, 4
mov dword [ebp - 0x364], eax
test eax, eax
jne 0x1000aa6c
push 0x10025ae0
push 0x65
call fcn.10016d80
add esp, 8
jmp 0x1000aa6c
mov dword [ebp - 0x364], 0
call fcn.10006330
xor edi, edi
lea esi, [edi + 1]
cmp dword [0x10022c5c], edi
jle 0x1000aaac
mov edi, edi
mov eax, dword [0x10024248]
push 0xfff
push 0x100247c0
push eax
call fcn.1001bf50
add esp, 0xc
test eax, eax
je 0x1000aaa2
add dword [0x100241b4], esi
add edi, esi
cmp edi, dword [0x10022c5c]
jl 0x1000aa80
cmp dword [0x10024198], 0
mov ecx, dword [0x100241b4]
mov dword [0x10022c5c], ecx
mov dword [0x100247b0], esi
je 0x1000ab31
cmp dword [0x10022970], 0
mov ecx, str.true
jne 0x1000aada
mov ecx, str.false
cmp dword [0x10024190], 0
mov eax, str.true
jne 0x1000aaed
mov eax, str.false
mov edx, dword [0x1002297c]
push edx
push ecx
push eax
movsx eax, byte [0x10022960]
push eax
lea ecx, [ebp - 0x334]
push str.pragma_ctrlchar_0x_02x_npragma_pack__s_npragma_semicolon__s_npragma_tabsize__d_n
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [0x1002424c]
lea edx, [ebp - 0x334]
push edx
push eax
call fcn.1001c020
mov ecx, dword [0x100257c4]
push ecx
call fcn.100151b0
add esp, 0x24
mov edx, dword [0x10024248]
push edx
mov dword [0x10022c64], 0
call fcn.1001bf90
add esp, 4
mov esi, eax
lea esp, [esp]
push 0x10024740
call fcn.10002870
push 0
mov edi, 1
push edi
push 0
push 0x10024740
call fcn.1000c890
call fcn.1001af90
call fcn.1001ace0
call fcn.10001000
mov al, byte [0x10022961]
mov ecx, dword [ebp - 0x370]
mov edx, dword [ebp - 0x374]
mov byte [0x10022960], al
mov eax, dword [ebp - 0x35c]
push 0
push 0
mov dword [0x10024190], ecx
mov dword [0x10022970], edx
mov dword [0x1002297c], eax
call fcn.100170a0
mov eax, dword [0x10024248]
push esi
push eax
mov dword [0x10024244], eax
mov dword [0x100241b0], edi
call fcn.1001bf40
mov ecx, dword [0x10022c5c]
lea eax, [ebp - 0x118]
add esp, 0x24
mov dword [0x100241b4], ecx
mov dword [0x10022c60], 0
mov dword [0x100247b0], edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000abf2
sub eax, edx
je 0x1000ac68
mov ecx, str.default.inc
lea eax, [ebp - 0x118]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000ac28
test dl, dl
je 0x1000ac24
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000ac28
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000ac08
xor eax, eax
jmp 0x1000ac2d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000ac44
push edi
push eax
lea edx, [ebp - 0x118]
push edx
call fcn.1000bae0
add esp, 0xc
jmp 0x1000ac68
lea eax, [ebp - 0x118]
push eax
call fcn.1000b980
add esp, 4
test eax, eax
jne 0x1000ac68
lea ecx, [ebp - 0x118]
push ecx
push 0x64
call fcn.10016d80
add esp, 8
call fcn.1000fd70
cmp dword [0x100241b0], 0
je 0x1000acd6
jmp 0x1000ac80
lea edx, [ebp - 0x38c]
push edx
lea eax, [ebp - 0x384]
push eax
call fcn.1000fe60
add esp, 8
cmp eax, 0x7b
jg 0x1000aea8
je 0x1000ae99
test eax, eax
je 0x1000accd
cmp dword [0x100241b0], 0
je 0x1000acd6
push 0xa
call fcn.10016d80
push 1
call fcn.1000c510
mov dword [0x10024168], 0
add esp, 8
cmp dword [0x100241b0], 0
jne 0x1000ac80
inc dword [0x10022c64]
cmp dword [0x10022c60], 0
jne 0x1000ab50
mov ebx, 2
push 0x10024740
mov dword [0x100247b0], ebx
call fcn.1001b920
add esp, 4
cmp dword [0x10024250], 0
je 0x1000ad99
call dword [sym.imp.MSVCR100.dll___iob_func]
lea edi, [eax + 0x20]
lea eax, [ebp - 0x29c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ad20
sub eax, edx
je 0x1000ad42
lea ecx, [ebp - 0x29c]
push 0x1001e290
push ecx
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
mov edi, eax
test edi, edi
je 0x1000ad7c
push 0
call fcn.1001ad20
push 0x10024740
mov edx, eax
mov ecx, edi
call fcn.10003890
lea eax, [ebp - 0x29c]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ad67
sub eax, edx
je 0x1000ad7c
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov eax, dword [0x10022c68]
test eax, eax
je 0x1000ad99
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov dword [0x10022c68], 0
cmp dword [0x10024198], 0
jne 0x1000b096
push 0x10024740
call fcn.10002870
xor edi, edi
push edi
push 1
push edi
push 0x10024740
call fcn.1000c890
call fcn.1001ace0
call fcn.10001000
mov dl, byte [0x10022961]
mov eax, dword [ebp - 0x370]
mov ecx, dword [ebp - 0x374]
mov byte [0x10022960], dl
mov edx, dword [ebp - 0x35c]
push edi
push edi
mov dword [0x10024190], eax
mov dword [0x10022970], ecx
mov dword [0x1002297c], edx
call fcn.100170a0
mov eax, dword [0x10024248]
push esi
push eax
mov dword [0x10024244], eax
mov dword [0x100241b0], 1
call fcn.1001bf40
mov eax, dword [0x10022c5c]
mov dword [0x100241b4], eax
call fcn.1000c4d0
push 0x10024740
mov dword [0x100247b0], ebx
call fcn.10016730
mov ecx, dword [0x100257c4]
push ecx
call fcn.1001afc0
lea eax, [ebp - 0x118]
add esp, 0x2c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ae52
sub eax, edx
je 0x1000b008
mov ecx, str.default.inc
lea eax, [ebp - 0x118]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000afdc
test dl, dl
je 0x1000ae92
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000afdc
add eax, ebx
add ecx, ebx
test dl, dl
jne 0x1000ae70
xor eax, eax
jmp 0x1000afe1
push 0x37
call fcn.10016d80
add esp, 4
jmp 0x1000accd
lea ecx, [eax - 0x7d]
cmp ecx, 0xd1
ja case.0x1000aebe.126
movzx ecx, byte [ecx + 0x1000b698]
jmp dword [ecx*4 + 0x1000b674]
lea edx, [ebp - 0x33c]
push edx
lea ecx, [ebp - 0x34c]
push ecx
lea edi, [ebp - 0x340]
lea ebx, [ebp - 0x348]
call fcn.10001610
add esp, 8
test eax, eax
je 0x1000accd
mov edx, dword [ebp - 0x33c]
mov eax, dword [ebp - 0x34c]
mov ecx, dword [ebp - 0x340]
push edx
mov edx, dword [ebp - 0x348]
push eax
push ecx
push edx
push 0
push 0
call fcn.100079c0
add esp, 0x18
jmp 0x1000accd
lea ecx, [ebp - 0x33c]
push ecx
lea edx, [ebp - 0x34c]
push edx
lea edi, [ebp - 0x340]
lea ebx, [ebp - 0x348]
call fcn.10001610
add esp, 8
test eax, eax
je 0x1000accd
mov eax, dword [ebp - 0x33c]
mov ecx, dword [ebp - 0x34c]
mov edx, dword [ebp - 0x340]
push eax
mov eax, dword [ebp - 0x348]
push ecx
push edx
push eax
call fcn.1000a3a0
add esp, 0x10
jmp 0x1000accd
push 0
call fcn.100067f0
add esp, 4
jmp 0x1000accd
xor ecx, ecx
call fcn.10006a00
jmp 0x1000accd
call fcn.1000c500
push 0
push 0
push 0
push 0
or ecx, 0xffffffff
call fcn.10009d00
add esp, 0x10
test eax, eax
jne 0x1000accd
jmp 0x1000acb2
push 1
call fcn.100090b0
add esp, 4
jmp 0x1000accd
push 0
call fcn.100090b0
add esp, 4
jmp 0x1000accd
push 0x36
call fcn.10016d80
add esp, 4
jmp 0x1000accd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x1000aff9
push 1
lea edx, [ebp - 0x118]
push edi
push edx
call fcn.1000bae0
add esp, 0xc
jmp 0x1000b008
lea eax, [ebp - 0x118]
push eax
call fcn.1000b980
add esp, 4
call fcn.1000fd70
cmp dword [0x100241b0], edi
je 0x1000b072
jmp 0x1000b020
lea ecx, [ebp - 0x380]
push ecx
lea edx, [ebp - 0x388]
push edx
call fcn.1000fe60
add esp, 8
cmp eax, 0x7b
jg 0x1000b131
je 0x1000b122
cmp eax, edi
je 0x1000b068
cmp dword [0x100241b0], edi
je 0x1000b068
push 0xa
call fcn.10016d80
push 1
call fcn.1000c510
mov dword [0x10024168], edi
add esp, 8
xor edi, edi
cmp dword [0x100241b0], edi
jne 0x1000b020
call fcn.10016bc0
push edi
push 1
push edi
push 0x10024740
call fcn.10004540
add esp, 0x10
test eax, eax
jne 0x1000b096
push 0xd
call fcn.10016d80
add esp, 4
mov eax, dword [0x10024244]
xor edi, edi
cmp eax, edi
je 0x1000b0aa
push eax
call fcn.1001bf30
add esp, 4
cmp dword [0x10024194], edi
jne 0x1000b0f2
cmp dword [0x10024198], edi
jne 0x1000b0f2
cmp dword [0x10024188], edi
jne 0x1000b0f2
cmp dword [ebp - 0x36c], edi
jne 0x1000b0f2
mov ecx, dword [0x1002424c]
push ecx
call fcn.1001c000
mov edx, dword [0x1002424c]
mov eax, dword [ebp - 0x364]
push edx
push eax
call fcn.10018220
add esp, 0xc
mov dword [ebp - 0x368], eax
mov ecx, dword [0x1002424c]
cmp ecx, edi
je 0x1000b271
cmp dword [0x10024194], edi
jne 0x1000b25f
cmp dword [0x10024198], edi
jne 0x1000b25f
mov eax, 1
jmp 0x1000b261
push 0x37
call fcn.10016d80
add esp, 4
jmp 0x1000b068
lea ecx, [eax - 0x7d]
cmp ecx, 0xd1
ja case.0x1000b147.126
movzx ecx, byte [ecx + 0x1000b790]
jmp dword [ecx*4 + 0x1000b76c]
lea edx, [ebp - 0x350]
push edx
lea ecx, [ebp - 0x354]
push ecx
lea edi, [ebp - 0x338]
lea ebx, [ebp - 0x344]
call fcn.10001610
add esp, 8
test eax, eax
je 0x1000b068
mov edx, dword [ebp - 0x350]
mov eax, dword [ebp - 0x354]
mov ecx, dword [ebp - 0x338]
push edx
mov edx, dword [ebp - 0x344]
push eax
push ecx
push edx
push 0
push 0
call fcn.100079c0
add esp, 0x18
jmp 0x1000b068
lea ecx, [ebp - 0x350]
push ecx
lea edx, [ebp - 0x354]
push edx
lea edi, [ebp - 0x338]
lea ebx, [ebp - 0x344]
call fcn.10001610
add esp, 8
test eax, eax
je 0x1000b068
mov eax, dword [ebp - 0x350]
mov ecx, dword [ebp - 0x354]
mov edx, dword [ebp - 0x338]
push eax
mov eax, dword [ebp - 0x344]
push ecx
push edx
push eax
call fcn.1000a3a0
add esp, 0x10
jmp 0x1000b068
push edi
call fcn.100067f0
add esp, 4
jmp 0x1000b068
xor ecx, ecx
call fcn.10006a00
jmp 0x1000b068
call fcn.1000c500
push edi
push edi
push edi
push edi
or ecx, 0xffffffff
call fcn.10009d00
add esp, 0x10
test eax, eax
jne 0x1000b068
jmp 0x1000b051
push 1
call fcn.100090b0
add esp, 4
jmp 0x1000b068
push edi
call fcn.100090b0
add esp, 4
jmp 0x1000b068
push 0x36
call fcn.10016d80
add esp, 4
jmp 0x1000b068
xor eax, eax
push eax
push ecx
call fcn.1001bfd0
add esp, 8
mov dword [0x1002424c], edi
mov eax, dword [ebp - 0x364]
cmp eax, edi
je 0x1000b296
xor ecx, ecx
cmp dword [0x10024188], edi
setne cl
push ecx
push eax
call fcn.1001c060
add esp, 8
mov dword [ebp - 0x364], edi
cmp dword [0x10024188], edi
jne 0x1000b435
mov eax, 0x100259c0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000b2b0
sub eax, edx
jne 0x1000b435
lea edx, [ebp - 0x37c]
push edx
mov eax, 0x10024740
call fcn.10002ab0
mov ecx, dword [0x100241ac]
mov edx, dword [0x1002417c]
mov ebx, dword [0x10022978]
add esp, 4
mov esi, eax
mov dword [ebp - 0x35c], esi
cmp dword [0x100241a8], edi
jle 0x1000b31d
mov eax, dword [0x10024180]
add eax, dword [ebp - 0x368]
test ecx, ecx
jne 0x1000b30a
lea esi, [ebx + edx]
lea eax, [eax + esi*4]
mov esi, dword [ebp - 0x35c]
cmp eax, dword [0x100241a8]
jl 0x1000b31d
mov edi, 1
test ecx, ecx
jle 0x1000b330
add edx, ebx
add edx, edx
add edx, edx
cmp edx, ecx
jb 0x1000b330
mov edi, 1
test byte [0x10022968], 2
jne 0x1000b351
cmp dword [0x10021004], 2
jge 0x1000b351
lea eax, [esi + 0x20]
cmp eax, ebx
jge 0x1000b351
test edi, edi
je 0x1000b435
mov ebx, dword [ebp - 0x368]
push ebx
push str.Header_size:________8ld_bytes_n
call fcn.1001be30
mov ecx, dword [0x10024180]
push ecx
push str.Code_size:__________8ld_bytes_n
call fcn.1001be30
mov edx, dword [0x1002417c]
lea eax, [edx*4]
push eax
push str.Data_size:__________8ld_bytes_n
call fcn.1001be30
mov ecx, dword [0x10022978]
lea edx, [ecx*4]
push edx
push str.Stack_heap_size:____8ld_bytes_
call fcn.1001be30
push str.estimated_max._usage
call fcn.1001be30
add esp, 0x24
cmp dword [ebp - 0x37c], 0
je 0x1000b3c8
push str.:_unknown__due_to_recursion_n
call fcn.1001be30
add esp, 4
jmp 0x1000b3f6
test byte [0x100241e8], 1
je 0x1000b3e0
push str.:_unknown__due_to_the__sleep__instruction_n
call fcn.1001be30
add esp, 4
jmp 0x1000b3f6
lea eax, [esi*4]
push eax
push esi
push str._ld_cells___ld_bytes__n
call fcn.1001be30
add esp, 0xc
mov edx, dword [0x10022978]
add edx, dword [0x1002417c]
mov eax, dword [0x10024180]
lea ecx, [eax + edx*4]
add ecx, ebx
push ecx
push str.Total_requirements:_8ld_bytes_n
call fcn.1001be30
mov ecx, dword [0x100241ac]
add esp, 8
test edi, edi
je 0x1000b435
add ecx, dword [0x100241a8]
push ecx
push 0x6a
call fcn.10016d80
add esp, 8
cmp dword [0x100257c4], 0
je 0x1000b46f
push 1
call fcn.1001ad20
add esp, 4
test eax, eax
je 0x1000b45b
mov eax, dword [0x100257c4]
push eax
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 4
mov ecx, dword [0x100257c4]
mov esi, dword [sym.imp.MSVCR100.dll_free]
push ecx
call esi
add esp, 4
jmp 0x1000b475
mov esi, dword [sym.imp.MSVCR100.dll_free]
mov eax, dword [0x100257c0]
test eax, eax
je 0x1000b484
push eax
call esi
add esp, 4
call fcn.10019390
call fcn.10018ed0
call fcn.1000b950
push 1
push 1
push 0
push 0x10025940
call fcn.1000c890
push 1
push 1
push 0
push 0x10024740
call fcn.1000c890
mov eax, dword [0x1002410c]
add esp, 0x20
test eax, eax
je 0x1000b4ce
nop
mov edi, dword [eax]
push eax
call esi
add esp, 4
mov eax, edi
test edi, edi
jne 0x1000b4c0
push 0x2c
push 0
push 0x1002410c
call sub.MSVCR100.dll_memset
mov eax, dword [0x10024138]
add esp, 0xc
test eax, eax
je 0x1000b4f6
mov edi, dword [eax]
push eax
call esi
add esp, 4
mov eax, edi
test edi, edi
jne 0x1000b4e8
push 0x2c
push 0
push 0x10024138
call sub.MSVCR100.dll_memset
mov eax, dword [0x100241ec]
add esp, 0xc
test eax, eax
je 0x1000b51e
mov edi, dword [eax]
push eax
call esi
add esp, 4
mov eax, edi
test edi, edi
jne 0x1000b510
push 0x2c
push 0
push 0x100241ec
call sub.MSVCR100.dll_memset
mov eax, dword [0x10024218]
add esp, 0xc
test eax, eax
je 0x1000b546
mov edi, dword [eax]
push eax
call esi
add esp, 4
mov eax, edi
test edi, edi
jne 0x1000b538
push 0x2c
push 0
push 0x10024218
call sub.MSVCR100.dll_memset
add esp, 0xc
call fcn.1001b7a0
call fcn.1001aae0
call fcn.1001ab40
call fcn.1001ad50
call fcn.1001b240
call fcn.1001ace0
call fcn.1001ae30
mov eax, dword [0x10022c68]
test eax, eax
je 0x1000b589
push eax
call esi
add esp, 4
call fcn.1001aec0
call fcn.1001af90
mov esi, dword [0x10024188]
test esi, esi
je 0x1000b5d5
mov eax, 0x100259c0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000b5a5
sub eax, edx
jne 0x1000b5ce
mov eax, 0x1001e170
cmp esi, 1
jg 0x1000b5bf
mov eax, 0x1001db9b
push eax
push esi
push str._n_d_Error_s._n
call fcn.1001be30
add esp, 0xc
mov esi, 1
jmp 0x1000b634
mov esi, dword [0x1002418c]
test esi, esi
je 0x1000b614
mov eax, 0x100259c0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000b5e7
sub eax, edx
jne 0x1000b610
mov eax, 0x1001e170
cmp esi, 1
jg 0x1000b601
mov eax, 0x1001db9b
push eax
push esi
push str._n_d_Warning_s._n
call fcn.1001be30
add esp, 0xc
xor esi, esi
jmp 0x1000b634
mov esi, dword [ebp - 0x36c]
test esi, esi
jne 0x1000b634
cmp dword [0x10021004], 2
jl 0x1000b634
push str._nDone._n
call fcn.1001be30
add esp, 4
mov edx, dword [0x10022c6c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000b660
push 0
push esi
push str.PawnNotify
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push eax
mov eax, dword [0x10022c6c]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001c0fa
mov esp, ebp
pop ebp
ret