Function at 0x41df11
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
nop
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xcc], ecx
mov eax, dword [ebp + 8]
add eax, 0x100
mov ecx, 0
mov dword [eax], ecx
mov eax, dword [ebp - 0xcc]
cmp eax, 3
je 0x41df51
mov eax, dword [ebp + 8]
push eax
call fcn.0041dab9
add esp, 4
mov eax, 0
mov dword [ebp - 0xac], eax
mov eax, 0
mov dword [ebp - 0x48], eax
mov eax, 0
mov dword [ebp - 0xb4], eax
mov eax, 0
mov dword [ebp - 0xb8], eax
mov eax, 0
mov dword [ebp - 0xbc], eax
mov eax, 0
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xcc]
cmp eax, 3
je 0x41e8d3
call fcn.0041ca3a
mov eax, dword [ebp + 8]
push eax
call fcn.0041db61
add esp, 4
mov eax, dword [ebp + 8]
add eax, 0x6c
mov ecx, dword [eax]
test ecx, ecx
je 0x41dfc5
jmp 0x41e8c7
mov eax, dword [ebp - 0xcc]
cmp eax, 1
jne 0x41e038
mov eax, 2
push eax
mov eax, 1
push eax
mov eax, str..interp
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00403744
add esp, 0x10
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
add eax, 0x20
mov ecx, 1
mov dword [eax], ecx
mov eax, 0x13
push eax
mov eax, dword [ebp - 0xb4]
push eax
call fcn.00403973
add esp, 8
mov dword [ebp - 0xec], eax
mov eax, str._lib_ld_linux.so.2
push eax
mov eax, dword [ebp - 0xec]
push eax
call sub.msvcrt.dll_strcpy
add esp, 8
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, 2
push ecx
mov ecx, str..hash
push ecx
mov ecx, str..dynstr
push ecx
mov ecx, 2
push ecx
mov ecx, 0xb
push ecx
mov ecx, str..dynsym
push ecx
mov ecx, dword [ebp + 8]
push ecx
mov dword [ebp - 0xf0], eax
call fcn.0041d84a
add esp, 0x1c
mov ecx, dword [ebp - 0xf0]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, dword [eax]
add ecx, 0x38
mov eax, dword [ecx]
mov dword [ebp - 0xbc], eax
mov eax, 3
push eax
mov eax, 6
push eax
mov eax, str..dynamic
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00403744
add esp, 0x10
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
add eax, 0x38
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb8]
add eax, 0x24
mov ecx, 8
mov dword [eax], ecx
mov eax, dword [ebp + 8]
add eax, 0x48
mov ecx, 6
push ecx
mov ecx, 1
push ecx
mov ecx, str..plt
push ecx
mov ecx, dword [ebp + 8]
push ecx
mov dword [ebp - 0xf4], eax
call fcn.00403744
add esp, 0x10
mov ecx, dword [ebp - 0xf4]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
add eax, 0x48
mov ecx, dword [eax]
add ecx, 0x24
mov eax, 4
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041d2db
add esp, 4
mov eax, dword [0x42fb90]
add eax, 4
mov ecx, dword [0x42fb90]
mov edx, dword [eax]
mov eax, dword [ecx]
add edx, eax
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0xcc]
cmp eax, 1
jne 0x41e647
mov eax, dword [0x42fb90]
add eax, 4
mov ecx, dword [eax]
add ecx, 0x10
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xe8]
cmp eax, ecx
jae 0x41e49c
jmp 0x41e18e
mov eax, dword [ebp - 0xc4]
mov ecx, eax
add eax, 0x10
mov dword [ebp - 0xc4], eax
jmp 0x41e162
mov eax, dword [ebp - 0xc4]
add eax, 0xe
movzx ecx, word [eax]
cmp ecx, 0
jne 0x41e3db
mov eax, dword [0x42fb90]
add eax, 0x38
mov ecx, dword [eax]
add ecx, 4
mov eax, dword [ebp - 0xc4]
mov edx, dword [ecx]
mov ecx, dword [eax]
add edx, ecx
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, dword [ebp - 0xd8]
push ecx
mov ecx, dword [eax]
push ecx
call fcn.0041c10a
add esp, 8
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x41e382
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, dword [eax]
add ecx, 4
mov eax, dword [ebp - 0xdc]
shl eax, 4
mov edx, dword [ecx]
add edx, eax
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xe4]
add eax, 0xc
movzx ecx, byte [eax]
and ecx, 0xf
mov dword [ebp - 0xc8], ecx
mov eax, dword [ebp - 0xc8]
cmp eax, 2
jne 0x41e290
mov eax, dword [ebp - 0xe4]
add eax, 8
mov ecx, dword [ebp - 0xe4]
add ecx, 0xc
mov edx, dword [0x42fb90]
add edx, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xfc], ecx
mov ecx, dword [edx]
sub eax, ecx
sar eax, 4
push eax
mov eax, dword [ebp - 0xfc]
movzx eax, byte [eax]
push eax
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax]
push eax
mov eax, 7
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041d3b6
add esp, 0x14
jmp 0x41e37d
mov eax, dword [ebp - 0xc8]
cmp eax, 1
jne 0x41e37d
mov eax, dword [0x42fb7c]
mov ecx, dword [eax]
mov dword [ebp - 0x100], ecx
mov eax, dword [ebp - 0x100]
add eax, 0x10
sub eax, 1
and eax, 0xfffffff0
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, dword [ebp - 0xe4]
add ecx, 8
mov edx, dword [ebp - 0xe4]
add edx, 0xc
mov dword [ebp - 0x104], eax
mov eax, dword [0x42fb7c]
add eax, 0x10
mov dword [ebp - 0x108], ecx
mov ecx, dword [ebp - 0xd8]
push ecx
mov ecx, dword [eax]
push ecx
mov eax, 0
push eax
movzx eax, byte [edx]
push eax
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x100]
push eax
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
push eax
call fcn.0041bf65
add esp, 0x1c
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, dword [ebp - 0xe0]
push ecx
mov ecx, 5
push ecx
mov ecx, dword [ebp - 0x100]
push ecx
mov ecx, dword [0x42fb7c]
push ecx
mov ecx, dword [eax]
push ecx
call fcn.0041c56d
add esp, 0x14
mov eax, dword [ebp - 0xe4]
add eax, 8
mov ecx, dword [ebp - 0x100]
mov edx, dword [eax]
add ecx, edx
mov dword [ebp - 0x100], ecx
mov eax, dword [0x42fb7c]
mov ecx, dword [ebp - 0x100]
mov dword [eax], ecx
jmp 0x41e3d6
mov eax, dword [ebp - 0xc4]
add eax, 0xc
movzx ecx, byte [eax]
sar ecx, 4
cmp ecx, 2
je 0x41e3bc
mov eax, str._fp_hw
push eax
mov eax, dword [ebp - 0xd8]
push eax
call sub.msvcrt.dll_strcmp
add esp, 8
test eax, eax
je 0x41e3bc
jmp 0x41e3c1
jmp 0x41e3d6
mov eax, dword [ebp - 0xd8]
push eax
mov eax, 0x42e443
push eax
call fcn.00404020
add esp, 8
jmp 0x41e497
mov eax, dword [ebp + 8]
add eax, 0x74
mov ecx, dword [eax]
test ecx, ecx
je 0x41e497
mov eax, dword [ebp - 0xc4]
add eax, 0xc
movzx ecx, byte [eax]
sar ecx, 4
cmp ecx, 0
je 0x41e497
mov eax, dword [0x42fb90]
add eax, 0x38
mov ecx, dword [eax]
add ecx, 4
mov eax, dword [ebp - 0xc4]
mov edx, dword [ecx]
mov ecx, dword [eax]
add edx, ecx
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, dword [ebp - 0xc4]
add ecx, 4
mov edx, dword [ebp - 0xc4]
add edx, 8
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xc4]
add eax, 0xc
mov dword [ebp - 0x110], ecx
mov ecx, dword [ebp - 0xc4]
add ecx, 0xe
mov dword [ebp - 0x114], edx
mov edx, dword [ebp - 0xd8]
push edx
movzx edx, word [ecx]
push edx
mov ecx, 0
push ecx
movzx ecx, byte [eax]
push ecx
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax]
push eax
call fcn.0041bf65
add esp, 0x1c
jmp 0x41e17b
mov eax, dword [ebp + 8]
add eax, 0x100
mov ecx, dword [eax]
test ecx, ecx
je 0x41e4b4
jmp 0x41f6c3
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, dword [eax]
add ecx, 4
mov eax, dword [ebp + 8]
add eax, 0x58
mov edx, dword [eax]
mov eax, dword [ecx]
mov ecx, dword [edx]
add eax, ecx
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, dword [eax]
add ecx, 4
mov eax, dword [ecx]
add eax, 0x10
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xe8]
cmp eax, ecx
jae 0x41e642
jmp 0x41e515
mov eax, dword [ebp - 0xe4]
mov ecx, eax
add eax, 0x10
mov dword [ebp - 0xe4], eax
jmp 0x41e4e9
mov eax, dword [ebp - 0xe4]
add eax, 0xe
movzx ecx, word [eax]
cmp ecx, 0
jne 0x41e63d
mov eax, dword [ebp + 8]
add eax, 0x58
mov ecx, dword [eax]
add ecx, 0x38
mov eax, dword [ecx]
add eax, 4
mov ecx, dword [ebp - 0xe4]
mov edx, dword [eax]
mov eax, dword [ecx]
add edx, eax
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xd8]
push eax
mov eax, dword [0x42fb90]
push eax
call fcn.0041c10a
add esp, 8
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x41e60b
mov eax, dword [0x42fb90]
add eax, 4
mov ecx, dword [ebp - 0xdc]
shl ecx, 4
mov edx, dword [eax]
add edx, ecx
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, dword [ebp - 0xc4]
add ecx, 4
mov edx, dword [ebp - 0xc4]
add edx, 8
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xc4]
add eax, 0xc
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0xc4]
add ecx, 0xe
mov dword [ebp - 0x120], edx
mov edx, dword [ebp - 0xd8]
push edx
movzx edx, word [ecx]
push edx
mov ecx, 0
push ecx
movzx ecx, byte [eax]
push ecx
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
push eax
call fcn.0041bf65
add esp, 0x1c
jmp 0x41e63d
mov eax, dword [ebp - 0xe4]
add eax, 0xc
movzx ecx, byte [eax]
sar ecx, 4
cmp ecx, 2
jne 0x41e628
jmp 0x41e63d
mov eax, dword [ebp - 0xd8]
push eax
mov eax, str.undefined_dynamic_symbol__s
push eax
call fcn.004040e6
add esp, 8
jmp 0x41e502
jmp 0x41e7ac
mov eax, dword [0x42fb90]
mov ecx, dword [eax]
shr ecx, 4
mov dword [ebp - 0x124], ecx
mov eax, dword [ebp + 8]
add eax, 0x54
mov ecx, dword [ebp - 0x124]
shl ecx, 2
push ecx
mov dword [ebp - 0x128], eax
call fcn.004034e7
add esp, 4
mov ecx, dword [ebp - 0x128]
mov dword [ecx], eax
mov eax, dword [0x42fb90]
add eax, 4
mov ecx, dword [eax]
add ecx, 0x10
mov dword [ebp - 0xc4], ecx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xe8]
cmp eax, ecx
jae 0x41e7ac
jmp 0x41e6be
mov eax, dword [ebp - 0xc4]
mov ecx, eax
add eax, 0x10
mov dword [ebp - 0xc4], eax
jmp 0x41e692
mov eax, dword [ebp - 0xc4]
add eax, 0xc
movzx ecx, byte [eax]
sar ecx, 4
cmp ecx, 0
je 0x41e7a7
mov eax, dword [0x42fb90]
add eax, 0x38
mov ecx, dword [eax]
add ecx, 4
mov eax, dword [ebp - 0xc4]
mov edx, dword [ecx]
mov ecx, dword [eax]
add edx, ecx
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, dword [ebp - 0xc4]
add ecx, 4
mov edx, dword [ebp - 0xc4]
add edx, 8
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xc4]
add eax, 0xc
mov dword [ebp - 0x130], ecx
mov ecx, dword [ebp - 0xc4]
add ecx, 0xe
mov dword [ebp - 0x134], edx
mov edx, dword [ebp - 0xd8]
push edx
movzx edx, word [ecx]
push edx
mov ecx, 0
push ecx
movzx ecx, byte [eax]
push ecx
mov eax, dword [ebp - 0x134]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x130]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax]
push eax
call fcn.0041bf65
add esp, 0x1c
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 8]
add eax, 0x54
mov ecx, dword [0x42fb90]
add ecx, 4
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0x138], eax
mov eax, dword [ecx]
sub edx, eax
sar edx, 4
shl edx, 2
mov eax, dword [ebp - 0x138]
mov eax, dword [eax]
add eax, edx
mov ecx, dword [ebp - 0xe0]
mov dword [eax], ecx
jmp 0x41e6ab
mov eax, dword [ebp + 8]
push eax
call fcn.0041d674
add esp, 4
mov eax, 0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
add eax, 0x30
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax]
cmp ecx, edx
jge 0x41e83f
jmp 0x41e7e5
mov eax, dword [ebp - 0x50]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x50], eax
jmp 0x41e7c0
mov eax, dword [ebp + 8]
add eax, 0x2c
mov ecx, dword [ebp - 0x50]
shl ecx, 2
mov edx, dword [eax]
add edx, ecx
mov eax, dword [edx]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax]
cmp ecx, 0
jne 0x41e83d
mov eax, dword [ebp - 0x13c]
add eax, 8
push eax
mov eax, dword [ebp - 0xbc]
push eax
call fcn.0041bd3c
add esp, 8
push eax
mov eax, 1
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
jmp 0x41e7d8
mov eax, dword [ebp - 0xcc]
cmp eax, 2
jne 0x41e8a7
mov eax, dword [ebp + 8]
add eax, 0x70
mov ecx, dword [eax]
test ecx, ecx
je 0x41e88c
mov eax, dword [ebp + 8]
add eax, 0x70
mov ecx, dword [eax]
push ecx
mov eax, dword [ebp - 0xbc]
push eax
call fcn.0041bd3c
add esp, 8
push eax
mov eax, 0xe
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
mov eax, 0
push eax
mov eax, 0x16
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
add ecx, 0x48
mov dword [eax], ecx
jmp 0x41e8d3
mov eax, dword [ebp + 8]
push eax
call fcn.0041d674
add esp, 4
mov eax, 0x34
push eax
mov eax, 0
push eax
lea eax, [ebp - 0x34]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0
push eax
mov eax, 3
push eax
mov eax, str..shstrtab
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00403744
add esp, 0x10
mov dword [ebp - 0x78], eax
mov eax, 0x42e481
push eax
mov eax, dword [ebp - 0x78]
push eax
call fcn.0041bd3c
add esp, 8
mov eax, dword [ebp + 8]
add eax, 0x38
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
shl eax, 2
push eax
call fcn.0040349b
add esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov ecx, 0
mov dword [eax], ecx
mov eax, 1
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xcc]
jmp 0x41e95d
jmp 0x41e966
cmp eax, 3
jne 0x41e978
mov eax, 0
mov dword [ebp - 0x54], eax
jmp 0x41e9cb
cmp eax, 1
jne 0x41e9b5
mov eax, dword [ebp + 8]
add eax, 0x6c
mov ecx, dword [eax]
test ecx, ecx
je 0x41e996
jmp 0x41e9a3
mov eax, 4
mov dword [ebp - 0x54], eax
jmp 0x41e9ab
mov eax, 2
mov dword [ebp - 0x54], eax
jmp 0x41e9cb
cmp eax, 2
jne 0x41e958
mov eax, 3
mov dword [ebp - 0x54], eax
jmp 0x41e9cb
mov eax, 1
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
add eax, 0x38
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax]
cmp ecx, edx
jge 0x41eb2f
jmp 0x41e9f8
mov eax, dword [ebp - 0x50]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x50], eax
jmp 0x41e9d3
mov eax, dword [ebp + 8]
add eax, 0x34
mov ecx, dword [ebp - 0x50]
shl ecx, 2
mov edx, dword [eax]
add edx, ecx
mov eax, dword [edx]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
add eax, 0xc
mov ecx, dword [ebp - 0x7c]
add ecx, 0x48
push ecx
mov ecx, dword [ebp - 0x78]
push ecx
mov dword [ebp - 0x140], eax
call fcn.0041bd3c
add esp, 8
mov ecx, dword [ebp - 0x140]
mov dword [ecx], eax
mov eax, dword [ebp - 0xcc]
cmp eax, 2
jne 0x41eacd
mov eax, dword [ebp - 0x7c]
add eax, 0x14
mov ecx, dword [eax]
cmp ecx, 9
jne 0x41eacd
mov eax, dword [ebp - 0x7c]
add eax, 0x18
mov ecx, dword [eax]
and ecx, 2
test ecx, ecx
je 0x41ea6c
jmp 0x41eacd
mov eax, dword [ebp + 8]
add eax, 0x34
mov ecx, dword [ebp - 0x7c]
add ecx, 0x1c
mov edx, dword [ecx]
shl edx, 2
mov ecx, dword [eax]
add ecx, edx
mov eax, dword [ecx]
add eax, 0x18
mov ecx, dword [eax]
and ecx, 2
test ecx, ecx
je 0x41eaa8
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041d06e
add esp, 8
jmp 0x41eac8
mov eax, dword [ebp + 8]
add eax, 0xa8
mov ecx, dword [eax]
test ecx, ecx
je 0x41eac8
mov eax, dword [ebp - 0x7c]
add eax, 0x28
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov dword [eax], edx
jmp 0x41eb2a
mov eax, dword [ebp + 8]
add eax, 0xa8
mov ecx, dword [eax]
test ecx, ecx
jne 0x41eb1d
mov eax, dword [ebp - 0xcc]
cmp eax, 3
je 0x41eb1d
mov eax, dword [ebp - 0x7c]
add eax, 0x18
mov ecx, dword [eax]
and ecx, 2
test ecx, ecx
jne 0x41eb1d
mov eax, dword [ebp + 8]
add eax, 0x38
mov ecx, dword [eax]
sub ecx, 1
mov eax, dword [ebp - 0x50]
cmp eax, ecx
je 0x41eb1d
jmp 0x41eb2a
mov eax, dword [ebp - 0x7c]
add eax, 0x28
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov dword [eax], edx
jmp 0x41e9eb
mov eax, dword [ebp - 0x54]
shl eax, 5
push eax
call fcn.004034e7
add esp, 4
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 8]
add eax, 0x84
mov ecx, dword [eax]
cmp ecx, 0
jne 0x41eb69
mov eax, dword [ebp - 0x54]
shl eax, 5
add eax, 0x34
mov dword [ebp - 0x58], eax
jmp 0x41eb71
mov eax, 0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
cmp eax, 0
jle 0x41f5bc
mov eax, dword [ebp + 8]
add eax, 0x80
mov ecx, dword [eax]
test ecx, ecx
je 0x41ebfa
mov eax, dword [ebp + 8]
add eax, 0x7c
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
and eax, 0xfff
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x58]
and eax, 0xfff
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x148]
cmp eax, ecx
jge 0x41ebdf
mov eax, dword [ebp - 0x144]
add eax, 0x1000
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x148]
sub eax, ecx
mov ecx, dword [ebp - 0x58]
add ecx, eax
mov dword [ebp - 0x58], ecx
jmp 0x41ec2f
mov eax, dword [ebp - 0xcc]
cmp eax, 2
jne 0x41ec16
mov eax, 0
mov dword [ebp - 0x74], eax
jmp 0x41ec1e
mov eax, 0x8048000
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x58]
and eax, 0xfff
mov ecx, dword [ebp - 0x74]
add ecx, eax
mov dword [ebp - 0x74], ecx
mov eax, 0
mov dword [ebp - 0xd4], eax
mov eax, 0
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x41ec70
mov eax, dword [ebp - 0xb0]
mov ecx, eax
add eax, 0x20
mov dword [ebp - 0xb0], eax
mov eax, 0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
cmp eax, 2
jge 0x41f05b
jmp 0x41ec96
mov eax, dword [ebp - 0x64]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x64], eax
jmp 0x41ec78
mov eax, dword [ebp - 0xb0]
mov ecx, 1
mov dword [eax], ecx
mov eax, dword [ebp - 0x64]
cmp eax, 0
jne 0x41ecc4
mov eax, dword [ebp - 0xb0]
add eax, 0x18
mov ecx, 5
mov dword [eax], ecx
jmp 0x41ecd4
mov eax, dword [ebp - 0xb0]
add eax, 0x18
mov ecx, 6
mov dword [eax], ecx
mov eax, dword [ebp - 0xb0]
add eax, 0x1c
mov ecx, 0x1000
mov dword [eax], ecx
mov eax, 0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
cmp eax, 5
jge 0x41ef8a
jmp 0x41ed0a
mov eax, dword [ebp - 0x70]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x70], eax
jmp 0x41ecec
mov eax, 1
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
add eax, 0x38
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax]
cmp ecx, edx
jge 0x41ef85
jmp 0x41ed37
mov eax, dword [ebp - 0x50]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x50], eax
jmp 0x41ed12
mov eax, dword [ebp + 8]
add eax, 0x34
mov ecx, dword [ebp - 0x50]
shl ecx, 2
mov edx, dword [eax]
add edx, ecx
mov eax, dword [edx]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
cmp eax, 0
jne 0x41ed76
mov eax, dword [ebp - 0x7c]
add eax, 0x18
mov ecx, dword [eax]
and ecx, 3
cmp ecx, 2
je 0x41ed71
jmp 0x41ed2a
jmp 0x41ed8f
mov eax, dword [ebp - 0x7c]
add eax, 0x18
mov ecx, dword [eax]
and ecx, 3
cmp ecx, 3
je 0x41ed8f
jmp 0x41ed2a
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xb4]
cmp eax, ecx
jne 0x41edb6
mov eax, dword [ebp - 0x70]
cmp eax, 0
je 0x41edb1
jmp 0x41ed2a
jmp 0x41ee63
mov eax, dword [ebp - 0x7c]
add eax, 0x14
mov ecx, dword [eax]
cmp ecx, 0xb
je 0x41edee
mov eax, dword [ebp - 0x7c]
add eax, 0x14
mov ecx, dword [eax]
cmp ecx, 3
je 0x41edee
mov eax, dword [ebp - 0x7c]
add eax, 0x14
mov ecx, dword [eax]
cmp ecx, 5
je 0x41edee
jmp 0x41ee04
mov eax, dword [ebp - 0x70]
cmp eax, 1
je 0x41edff
jmp 0x41ed2a
jmp 0x41ee63
mov eax, dword [ebp - 0x7c]
add eax, 0x14
mov ecx, dword [eax]
cmp ecx, 9
jne 0x41ee2b
mov eax, dword [ebp - 0x70]
cmp eax, 2
je 0x41ee26
jmp 0x41ed2a
jmp 0x41ee63
mov eax, dword [ebp - 0x7c]
add eax, 0x14
mov ecx, dword [eax]
cmp ecx, 8
jne 0x41ee52
mov eax, dword [ebp - 0x70]
cmp eax, 4
je 0x41ee4d
jmp 0x41ed2a
jmp 0x41ee63
mov eax, dword [ebp - 0x70]
cmp eax, 3
je 0x41ee63
jmp 0x41ed2a
mov eax, dword [ebp - 0x6c]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x6c], eax
shl ecx, 2
mov eax, dword [ebp - 0x48]
add eax, ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x7c]
add eax, 0x20
mov ecx, dword [ebp - 0x74]
mov edx, dword [eax]
add ecx, edx
sub ecx, 1
mov eax, dword [ebp - 0x7c]
add eax, 0x20
mov edx, dword [eax]
sub edx, 1
xor edx, 0xffffffff
and ecx, edx
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x68]
sub eax, ecx
mov ecx, dword [ebp - 0x58]
add ecx, eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x7c]
add eax, 0x30
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
mov eax, dword [ebp - 0x7c]
add eax, 0x2c
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb0]
add eax, 4
mov ecx, dword [eax]
cmp ecx, 0
jne 0x41ef10
mov eax, dword [ebp - 0xb0]
add eax, 4
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb0]
add eax, 8
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb0]
add eax, 0xc
mov ecx, dword [ebp - 0xb0]
add ecx, 8
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x7c]
add eax, 0x14
mov ecx, dword [eax]
cmp ecx, 9
jne 0x41ef4f
mov eax, dword [ebp - 0xd4]
cmp eax, 0
jne 0x41ef39
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x7c]
add eax, 0x28
mov ecx, dword [ebp - 0xd4]
mov edx, dword [eax]
add ecx, edx
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp - 0x7c]
add eax, 0x28
mov ecx, dword [ebp - 0x74]
mov edx, dword [eax]
add ecx, edx
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x7c]
add eax, 0x14
mov ecx, dword [eax]
cmp ecx, 8
je 0x41ef80
mov eax, dword [ebp - 0x7c]
add eax, 0x28
mov ecx, dword [ebp - 0x58]
mov edx, dword [eax]
add ecx, edx
mov dword [ebp - 0x58], ecx
jmp 0x41ed2a
jmp 0x41ecfd
mov eax, dword [ebp - 0xb0]
add eax, 0x10
mov ecx, dword [ebp - 0xb0]
add ecx, 4
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x14c], eax
mov eax, dword [ecx]
sub edx, eax
mov eax, dword [ebp - 0x14c]
mov dword [eax], edx
mov eax, dword [ebp - 0xb0]
add eax, 0x14
mov ecx, dword [ebp - 0xb0]
add ecx, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x150], eax
mov eax, dword [ecx]
sub edx, eax
mov eax, dword [ebp - 0x150]
mov dword [eax], edx
mov eax, dword [ebp - 0xb0]
mov ecx, eax
add eax, 0x20
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x64]
cmp eax, 0
jne 0x41f056
mov eax, dword [ebp + 8]
add eax, 0x84
mov ecx, dword [eax]
cmp ecx, 0
jne 0x41f02c
mov eax, dword [ebp - 0x74]
and eax, 0xfff
cmp eax, 0
je 0x41f027
mov eax, dword [ebp - 0x74]
add eax, 0x1000
mov dword [ebp - 0x74], eax
jmp 0x41f056
mov eax, dword [ebp - 0x74]
add eax, 0x1000
sub eax, 1
and eax, 0xfffff000
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x58]
add eax, 0x1000
sub eax, 1
and eax, 0xfffff000
mov dword [ebp - 0x58], eax
jmp 0x41ec89
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x41f116
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov ecx, 3
mov dword [eax], ecx
mov eax, dword [ebp - 0xb0]
add eax, 4
mov ecx, dword [ebp - 0xb4]
add ecx, 0x30
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xb0]
add eax, 8
mov ecx, dword [ebp - 0xb4]
add ecx, 0x2c
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xb0]
add eax, 0xc
mov ecx, dword [ebp - 0xb0]
add ecx, 8
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xb0]
add eax, 0x10
mov ecx, dword [ebp - 0xb4]
add ecx, 0x28
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xb0]
add eax, 0x14
mov ecx, dword [ebp - 0xb4]
add ecx, 0x28
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xb0]
add eax, 0x18
mov ecx, 4
mov dword [eax], ecx
mov eax, dword [ebp - 0xb0]
add eax, 0x1c
mov ecx, dword [ebp - 0xb4]
add ecx, 0x20
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x41f5a3
mov eax, dword [ebp - 0x54]
sub eax, 1
shl eax, 5
mov ecx, dword [ebp - 0xac]
add ecx, eax
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp - 0xb0]
mov ecx, 2
mov dword [eax], ecx
mov eax, dword [ebp - 0xb0]
add eax, 4
mov ecx, dword [ebp - 0xb8]
add ecx, 0x30
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xb0]
add eax, 8
mov ecx, dword [ebp - 0xb8]
add ecx, 0x2c
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xb0]
add eax, 0xc
mov ecx, dword [ebp - 0xb0]
add ecx, 8
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xb0]
add eax, 0x10
mov ecx, dword [ebp - 0xb8]
add ecx, 0x28
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xb0]
add eax, 0x14
mov ecx, dword [ebp - 0xb8]
add ecx, 0x28
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xb0]
add eax, 0x18
mov ecx, 6
mov dword [eax], ecx
mov eax, dword [ebp - 0xb0]
add eax, 0x1c
mov ecx, dword [ebp - 0xb8]
add ecx, 0x20
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp + 8]
add eax, 0x44
mov ecx, dword [eax]
add ecx, 4
mov eax, dword [ebp - 0xb8]
add eax, 0x2c
mov edx, dword [eax]
push edx
mov eax, dword [ecx]
push eax
call fcn.0041d259
add esp, 8
mov eax, dword [ebp - 0xcc]
cmp eax, 1
jne 0x41f340
mov eax, dword [ebp + 8]
add eax, 0x48
mov ecx, dword [eax]
add ecx, 4
mov eax, dword [ecx]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 8]
add eax, 0x48
mov ecx, dword [eax]
mov eax, dword [ebp - 0x158]
mov edx, dword [ecx]
add eax, edx
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x15c]
cmp eax, ecx
jae 0x41f340
mov eax, dword [ebp - 0x158]
add eax, 2
mov ecx, dword [ebp - 0x158]
add ecx, 2
push ecx
mov dword [ebp - 0x160], eax
call fcn.0041d298
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, 0x44
mov edx, dword [ecx]
add edx, 0x2c
mov ecx, dword [edx]
add eax, ecx
push eax
mov eax, dword [ebp - 0x160]
push eax
call fcn.0041d259
add esp, 8
mov eax, dword [ebp - 0x158]
add eax, 8
mov ecx, dword [ebp - 0x158]
add ecx, 8
push ecx
mov dword [ebp - 0x164], eax
call fcn.0041d298
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, 0x44
mov edx, dword [ecx]
add edx, 0x2c
mov ecx, dword [edx]
add eax, ecx
push eax
mov eax, dword [ebp - 0x164]
push eax
call fcn.0041d259
add esp, 8
mov eax, dword [ebp - 0x158]
add eax, 0x10
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x15c]
cmp eax, ecx
jae 0x41f340
mov eax, dword [ebp - 0x158]
add eax, 2
mov ecx, dword [ebp - 0x158]
add ecx, 2
push ecx
mov dword [ebp - 0x168], eax
call fcn.0041d298
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, 0x44
mov edx, dword [ecx]
add edx, 0x2c
mov ecx, dword [edx]
add eax, ecx
push eax
mov eax, dword [ebp - 0x168]
push eax
call fcn.0041d259
add esp, 8
mov eax, dword [ebp - 0x158]
add eax, 0x10
mov dword [ebp - 0x158], eax
jmp 0x41f2db
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, dword [eax]
add ecx, 4
mov eax, dword [ebp + 8]
add eax, 0x5c
mov edx, dword [eax]
mov eax, dword [ecx]
mov ecx, dword [edx]
add eax, ecx
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, dword [eax]
add ecx, 4
mov eax, dword [ecx]
add eax, 0x10
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x154]
cmp eax, ecx
jae 0x41f454
jmp 0x41f3a1
mov eax, dword [ebp - 0xc4]
mov ecx, eax
add eax, 0x10
mov dword [ebp - 0xc4], eax
jmp 0x41f375
mov eax, dword [ebp - 0xc4]
add eax, 0xe
movzx ecx, word [eax]
cmp ecx, 0
jne 0x41f3f6
mov eax, dword [ebp - 0xc4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x41f3f1
mov eax, dword [ebp - 0xc4]
add eax, 4
mov ecx, dword [ebp + 8]
add ecx, 0x48
mov edx, dword [ecx]
add edx, 0x2c
mov ecx, dword [eax]
mov dword [ebp - 0x16c], eax
mov eax, dword [edx]
add ecx, eax
mov eax, dword [ebp - 0x16c]
mov dword [eax], ecx
jmp 0x41f44f
mov eax, dword [ebp - 0xc4]
add eax, 0xe
movzx ecx, word [eax]
cmp ecx, 0xff00
jge 0x41f44f
mov eax, dword [ebp - 0xc4]
add eax, 4
mov ecx, dword [ebp + 8]
add ecx, 0x34
mov edx, dword [ebp - 0xc4]
add edx, 0xe
mov dword [ebp - 0x170], eax
movzx eax, word [edx]
shl eax, 2
mov edx, dword [ecx]
add edx, eax
mov eax, dword [edx]
add eax, 0x2c
mov ecx, dword [ebp - 0x170]
mov ecx, dword [ecx]
mov edx, dword [eax]
add ecx, edx
mov eax, dword [ebp - 0x170]
mov dword [eax], ecx
jmp 0x41f38e
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc0]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, dword [eax]
add ecx, 0x40
mov eax, dword [ecx]
add eax, 0x2c
mov ecx, dword [eax]
push ecx
mov eax, 4
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
mov eax, dword [ebp - 0xbc]
add eax, 0x2c
mov ecx, dword [eax]
push ecx
mov eax, 5
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0x5c
mov ecx, dword [eax]
add ecx, 0x2c
mov eax, dword [ecx]
push eax
mov eax, 6
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
push ecx
mov eax, 0xa
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
mov eax, 0x10
push eax
mov eax, 0xb
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
mov eax, dword [ebp - 0xd0]
push eax
mov eax, 0x11
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
mov eax, dword [ebp - 0xd4]
push eax
mov eax, 0x12
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
mov eax, 8
push eax
mov eax, 0x13
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0xa8
mov ecx, dword [eax]
test ecx, ecx
je 0x41f588
mov eax, 0
push eax
mov eax, 0x15
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0041d988
add esp, 0xc
mov eax, 0x20
mov word [ebp - 0xa], ax
movzx eax, word [ebp - 0x54]
mov word [ebp - 8], ax
mov eax, 0x34
mov dword [ebp - 0x18], eax
mov eax, 1
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
add eax, 0x38
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax]
cmp ecx, edx
jge 0x41f68e
jmp 0x41f5e9
mov eax, dword [ebp - 0x50]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x50], eax
jmp 0x41f5c4
mov eax, dword [ebp + 8]
add eax, 0x34
mov ecx, dword [ebp - 0x50]
shl ecx, 2
mov edx, dword [eax]
add edx, ecx
mov eax, dword [edx]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x54]
cmp eax, 0
jle 0x41f622
mov eax, dword [ebp - 0x7c]
add eax, 0x18
mov ecx, dword [eax]
and ecx, 2
test ecx, ecx
je 0x41f622
jmp 0x41f5dc
mov eax, dword [ebp - 0x6c]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x6c], eax
shl ecx, 2
mov eax, dword [ebp - 0x48]
add eax, ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov eax, dword [ebp - 0x7c]
add eax, 0x20
mov ecx, dword [ebp - 0x58]
mov edx, dword [eax]
add ecx, edx
sub ecx, 1
mov eax, dword [ebp - 0x7c]
add eax, 0x20
mov edx, dword [eax]
sub edx, 1
xor edx, 0xffffffff
and ecx, edx
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x7c]
add eax, 0x30
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
mov eax, dword [ebp - 0x7c]
add eax, 0x14
mov ecx, dword [eax]
cmp ecx, 8
je 0x41f689
mov eax, dword [ebp - 0x7c]
add eax, 0x28
mov ecx, dword [ebp - 0x58]
mov edx, dword [eax]
add ecx, edx
mov dword [ebp - 0x58], ecx
jmp 0x41f5dc
mov eax, dword [ebp - 0xcc]
cmp eax, 3
je 0x41f809
mov eax, 0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041cb14
add esp, 8
mov eax, dword [ebp + 8]
add eax, 0x100
mov ecx, dword [eax]
cmp ecx, 0
je 0x41f6d0
mov eax, 0xffffffff
mov dword [ebp - 0x44], eax
jmp 0x41fc7b
mov eax, 1
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
add eax, 0x38
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax]
cmp ecx, edx
jge 0x41f75a
jmp 0x41f6fd
mov eax, dword [ebp - 0x50]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x50], eax
jmp 0x41f6d8
mov eax, dword [ebp + 8]
add eax, 0x34
mov ecx, dword [ebp - 0x50]
shl ecx, 2
mov edx, dword [eax]
add edx, ecx
mov eax, dword [edx]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
add eax, 0x3c
mov ecx, dword [eax]
test ecx, ecx
je 0x41f758
mov eax, dword [ebp + 8]
add eax, 0x44
mov ecx, dword [ebp - 0x7c]
mov edx, dword [eax]
cmp ecx, edx
je 0x41f758
mov eax, dword [ebp - 0x7c]
add eax, 0x18
mov ecx, dword [eax]
and ecx, 2
test ecx, ecx
je 0x41f758
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041cd09
add esp, 8
jmp 0x41f6f0
mov eax, 1
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
add eax, 0x38
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax]
cmp ecx, edx
jge 0x41f7d2
jmp 0x41f787
mov eax, dword [ebp - 0x50]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x50], eax
jmp 0x41f762
mov eax, dword [ebp + 8]
add eax, 0x34
mov ecx, dword [ebp - 0x50]
shl ecx, 2
mov edx, dword [eax]
add edx, ecx
mov eax, dword [edx]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
add eax, 0x18
mov ecx, dword [eax]
and ecx, 2
test ecx, ecx
je 0x41f7d0
mov eax, dword [ebp - 0x7c]
add eax, 0x14
mov ecx, dword [eax]
cmp ecx, 9
jne 0x41f7d0
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041cff2
add esp, 8
jmp 0x41f77a
mov eax, dword [ebp - 0xcc]
cmp eax, 1
jne 0x41f7fb
mov eax, 0x42e482
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041c25f
add esp, 8
mov dword [ebp - 0x1c], eax
jmp 0x41f809
mov eax, dword [0x42fb74]
add eax, 0x2c
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0xcc]
cmp eax, 3
jne 0x41f825
mov eax, 0x1b6
mov dword [ebp - 0x40], eax
jmp 0x41f82d
mov eax, 0x1ff
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, 0x8301
push eax
mov eax, dword [ebp + 0xc]
push eax
call sub.msvcrt.dll__open
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, 0
jge 0x41f869
mov eax, dword [ebp + 0xc]
push eax
mov eax, str.could_not_write__s
push eax
call fcn.00404020
add esp, 8
jmp 0x41f6c3
mov eax, 0x42e49e
push eax
mov eax, dword [ebp - 0x3c]
push eax
call sub.msvcrt.dll__fdopen
add esp, 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
add eax, 0xa4
mov ecx, dword [eax]
test ecx, ecx
je 0x41f8a3
mov eax, dword [ebp + 0xc]
push eax
mov eax, 0x42e4a1
push eax
call sub.msvcrt.dll_printf
add esp, 8
mov eax, dword [ebp + 8]
add eax, 0x84
mov ecx, dword [eax]
cmp ecx, 0
jne 0x41fc53
mov eax, dword [0x42fb90]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041c79e
add esp, 8
mov eax, dword [ebp - 0x58]
add eax, 3
and eax, 0xfffffffc
mov dword [ebp - 0x58], eax
mov eax, 0x7f
mov byte [ebp - 0x34], al
mov eax, 0x45
mov byte [ebp - 0x33], al
mov eax, 0x4c
mov byte [ebp - 0x32], al
mov eax, 0x46
mov byte [ebp - 0x31], al
mov eax, 1
mov byte [ebp - 0x30], al
mov eax, 1
mov byte [ebp - 0x2f], al
mov eax, 1
mov byte [ebp - 0x2e], al
mov eax, dword [ebp - 0xcc]
jmp 0x41f91e
jmp 0x41f927
cmp eax, 1
jne 0x41f93a
mov eax, 2
mov word [ebp - 0x24], ax
jmp 0x41f96d
cmp eax, 2
jne 0x41f956
mov eax, 3
mov word [ebp - 0x24], ax
jmp 0x41f96d
cmp eax, 3
jne 0x41f919
mov eax, 1
mov word [ebp - 0x24], ax
jmp 0x41f96d
mov eax, 3
mov word [ebp - 0x22], ax
mov eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
mov eax, 0x34
mov word [ebp - 0xc], ax
mov eax, 0x28
mov word [ebp - 6], ax
movzx eax, word [ebp - 0x4c]
mov word [ebp - 4], ax
mov eax, dword [ebp - 0x4c]
sub eax, 1
mov word [ebp - 2], ax
mov eax, dword [ebp - 0x38]
push eax
mov eax, 0x34
push eax
mov eax, 1
push eax
lea eax, [ebp - 0x34]
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 0x54]
shl eax, 5
mov ecx, dword [ebp - 0x38]
push ecx
push eax
mov eax, 1
push eax
mov eax, dword [ebp - 0xac]
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 0x54]
shl eax, 5
add eax, 0x34
mov dword [ebp - 0x5c], eax
mov eax, 1
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
add eax, 0x38
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax]
cmp ecx, edx
jge 0x41fab9
jmp 0x41fa1d
mov eax, dword [ebp - 0x50]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x50], eax
jmp 0x41f9f8
mov eax, dword [ebp + 8]
add eax, 0x34
mov ecx, dword [ebp - 0x50]
shl ecx, 2
mov edx, dword [ebp - 0x48]
add edx, ecx
mov ecx, dword [edx]
shl ecx, 2
mov edx, dword [eax]
add edx, ecx
mov eax, dword [edx]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
add eax, 0x14
mov ecx, dword [eax]
cmp ecx, 8
je 0x41fab4
mov eax, dword [ebp - 0x7c]
add eax, 0x30
mov ecx, dword [ebp - 0x5c]
mov edx, dword [eax]
cmp ecx, edx
jae 0x41fa7f
mov eax, dword [ebp - 0x38]
push eax
mov eax, 0
push eax
call sub.msvcrt.dll_fputc
add esp, 8
mov eax, dword [ebp - 0x5c]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x5c], eax
jmp 0x41fa4d
mov eax, dword [ebp - 0x7c]
add eax, 0x28
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x7c]
add eax, 4
mov ecx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x60]
push ecx
mov ecx, 1
push ecx
mov ecx, dword [eax]
push ecx
call sub.msvcrt.dll_fwrite
add esp, 0x10
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
add eax, ecx
mov dword [ebp - 0x5c], eax
jmp 0x41fa10
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jae 0x41fae6
mov eax, dword [ebp - 0x38]
push eax
mov eax, 0
push eax
call sub.msvcrt.dll_fputc
add esp, 8
mov eax, dword [ebp - 0x5c]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x5c], eax
jmp 0x41fab9
mov eax, 0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
add eax, 0x38
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax]
cmp ecx, edx
jge 0x41fc4e
jmp 0x41fb13
mov eax, dword [ebp - 0x50]
mov ecx, eax
add eax, 1
mov dword [ebp - 0x50], eax
jmp 0x41faee
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
mov eax, 0x28
push eax
mov eax, 0
push eax
mov eax, dword [ebp - 0xa8]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0x34
mov ecx, dword [ebp - 0x50]
shl ecx, 2
mov edx, dword [eax]
add edx, ecx
mov eax, dword [edx]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x41fc2a
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x7c]
add ecx, 0xc
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xa8]
add eax, 4
mov ecx, dword [ebp - 0x7c]
add ecx, 0x14
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xa8]
add eax, 8
mov ecx, dword [ebp - 0x7c]
add ecx, 0x18
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xa8]
add eax, 0x24
mov ecx, dword [ebp - 0x7c]
add ecx, 0x24
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xa8]
add eax, 0x1c
mov ecx, dword [ebp - 0x7c]
add ecx, 0x1c
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x7c]
add eax, 0x38
mov ecx, dword [eax]
test ecx, ecx
je 0x41fbde
mov eax, dword [ebp - 0xa8]
add eax, 0x18
mov ecx, dword [ebp - 0x7c]
add ecx, 0x38
mov edx, dword [ecx]
add edx, 0x10
mov ecx, dword [edx]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa8]
add eax, 0x20
mov ecx, dword [ebp - 0x7c]
add ecx, 0x20
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xa8]
add eax, 0xc
mov ecx, dword [ebp - 0x7c]
add ecx, 0x2c
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xa8]
add eax, 0x10
mov ecx, dword [ebp - 0x7c]
add ecx, 0x30
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0xa8]
add eax, 0x14
mov ecx, dword [ebp - 0x7c]
add ecx, 0x28
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x38]
push eax
mov eax, 0x28
push eax
mov eax, 1
push eax
mov eax, dword [ebp - 0xa8]
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
jmp 0x41fb06
jmp 0x41fc67
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041de21
add esp, 0xc
mov eax, dword [ebp - 0x38]
push eax
call sub.msvcrt.dll_fclose
add esp, 4
mov eax, 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
add eax, 0x54
mov ecx, dword [eax]
push ecx
call fcn.00403483
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
call fcn.00403483
add esp, 4
mov eax, dword [ebp - 0xac]
push eax
call fcn.00403483
add esp, 4
mov eax, dword [ebp + 8]
add eax, 0x4c
mov ecx, dword [eax]
push ecx
call fcn.00403483
add esp, 4
mov eax, dword [ebp - 0x44]
jmp 0x41fcc0
leave
ret