Function at 0x4134f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58641d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x5fcfe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call fcn.0041b1fd
mov edi, eax
test edi, edi
je 0x4141de
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x597998]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test edi, edi
je 0x4141e8
mov edx, dword [ebx + 0xb4]
lea eax, [ebx + 0xb4]
mov dword [ebp - 0x70], eax
mov ecx, edi
mov eax, edx
mov si, word [eax]
cmp si, word [ecx]
jne 0x41358e
test si, si
je 0x41358a
mov si, word [eax + 2]
cmp si, word [ecx + 2]
jne 0x41358e
add eax, 4
add ecx, 4
test si, si
jne 0x413568
xor eax, eax
jmp 0x413593
sbb eax, eax
or eax, 1
test eax, eax
je 0x4135c2
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4135a0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea edi, [ebx + 0xb4]
mov ecx, edi
call fcn.0040b2c0
mov edx, dword [edi]
jmp 0x4135c8
lea edi, [ebx + 0xb4]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x4135e8
js 0x4141fc
cmp word [edx], 0x22
jne 0x4135e8
push 1
push 0
mov ecx, edi
call fcn.00418060
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x413615
lea ecx, [eax - 1]
test ecx, ecx
js 0x4141fc
cmp ecx, eax
jg 0x4141fc
cmp word [edx + ecx*2], 0x22
jne 0x413615
push 1
push ecx
mov ecx, edi
call fcn.00418060
mov edx, dword [edi]
or esi, 0xffffffff
test edx, edx
je 0x414123
cmp word [edx], 0
je 0x414123
push 0x5dd848
push edx
call fcn.0056d33d
add esp, 8
test eax, eax
je 0x414123
push eax
call fcn.0056d3d5
push 0x5dd848
push dword [edi]
call fcn.0056d33d
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41411a
mov ecx, dword [edi]
sub ecx, 0x10
push ecx
call fcn.0040a8a0
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 1
mov esi, dword [edi - 0xc]
test esi, esi
js 0x4141fc
lfence
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x4136ac
push esi
lea ecx, [ebp - 0x40]
lfence
call fcn.0040b0e0
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x3c], edi
lea eax, [esi + 1]
push eax
push edi
call fcn.0056ce5a
add esp, 8
cmp esi, dword [edi - 8]
jg 0x4141fc
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
cmp dword [edi - 0xc], eax
jl 0x413779
push str..PRN
push edi
call fcn.0055f7be
add esp, 8
test eax, eax
je 0x413779
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x413779
mov esi, dword [ebp - 0x20]
push 0
push 0
push esi
call fcn.0056f792
mov dword [ebx + 0xc4], esi
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
push esi
mov dword [ebp - 0x50], esi
call fcn.0040a8a0
mov ecx, dword [ebp + 8]
add eax, 0x10
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esp, 0x10
mov dword [ecx], eax
lea ecx, [edi - 0x10]
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x413754
lfence
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x597998]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4141c7
lfence
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
jmp 0x4141bb
call fcn.0041b1fd
mov ebx, eax
test ebx, ebx
je 0x4141f2
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x597998]
mov ecx, ebx
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
mov ebx, 1
mov eax, dword [esi - 8]
mov ecx, ebx
sub ecx, dword [esi - 4]
sub eax, 0x9f6
or eax, ecx
jge 0x4137c9
push 0x9f6
lea ecx, [ebp - 0x18]
call fcn.00418e80
mov esi, dword [ebp - 0x18]
push 0x9f6
push 0
push esi
call fcn.00560250
add esp, 0xc
cmp dword [esi - 8], 0x9f6
jl 0x4141fc
mov dword [esi - 0xc], 0x9f6
mov byte [esi + 0x9f6], 0
mov byte [ebp - 4], 3
mov ecx, ebx
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x9f6
or ecx, eax
jge 0x413819
push 0x9f6
lea ecx, [ebp - 0x18]
call fcn.00418e80
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
push ebx
push 0x9f6
push 1
push esi
call fcn.0056f17d
add esp, 0x10
cmp eax, 0x9f6
jne 0x4140fb
mov ecx, dword [esi - 0xc]
mov eax, 0x100
cmp ecx, eax
cmovl eax, ecx
xor ebx, ebx
test ecx, ecx
cmovns ebx, eax
mov dword [ebp - 0x4c], ebx
cmp ebx, ecx
jne 0x4138cb
mov ebx, dword [esi - 0x10]
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x597998]
mov ecx, ebx
call edi
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
mov dword [ebp - 0x50], eax
jl 0x413889
cmp eax, dword [esi - 0x10]
jne 0x413889
lea edi, [esi - 0x10]
lock inc dword [ecx]
lea eax, [edi + 0x10]
mov dword [ebp - 0x2c], eax
jmp 0x41396f
mov eax, dword [eax]
push 1
push dword [esi - 0xc]
mov edi, dword [eax]
mov ecx, edi
call dword [0x597998]
mov ecx, dword [ebp - 0x50]
call edi
mov edi, eax
test edi, edi
je 0x414210
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
lea ecx, [edi + 0x10]
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
call fcn.004199a0
lea eax, [edi + 0x10]
add esp, 8
mov dword [ebp - 0x2c], eax
jmp 0x41396f
mov eax, dword [esi - 0x10]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x4138f2
mov eax, dword [eax]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x597998]
mov ecx, dword [ebp - 0x50]
call edi
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4138f2
mov ecx, esi
jmp 0x41391a
call fcn.0041b1fd
mov ebx, eax
mov ecx, dword [ebx]
mov edi, dword [ecx + 0x10]
mov ecx, edi
call dword [0x597998]
mov ecx, ebx
call edi
mov dword [ebp - 0x2c], eax
mov ecx, esi
test eax, eax
je 0x414206
mov ebx, dword [ebp - 0x4c]
test ecx, ecx
jne 0x413926
test ebx, ebx
jne 0x4141fc
mov eax, dword [eax]
push 1
push ebx
mov edi, dword [eax]
mov ecx, edi
call dword [0x597998]
mov ecx, dword [ebp - 0x2c]
call edi
test eax, eax
je 0x414210
lea ecx, [eax + 0x10]
mov dword [ebp - 0x2c], ecx
test ebx, ebx
js 0x4141fc
cmp ebx, dword [ecx - 8]
jg 0x4141fc
lfence
push ebx
mov dword [ecx - 0xc], ebx
mov edx, ebx
push esi
mov byte [ebx + ecx], 0
call fcn.004199a0
add esp, 8
push 0x100
push 0x100
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x18]
call fcn.004170b0
push 0xc
push 0x200
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x18]
call fcn.004170b0
push 0x100
push 0x20c
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x18]
call fcn.004170b0
mov byte [ebp - 4], 7
mov dword [ebp - 0x30], 0
call fcn.0041b1fd
mov ebx, eax
test ebx, ebx
je 0x414215
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x597998]
mov ecx, ebx
call edi
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], 0
call fcn.00417260
lea ecx, [ebp - 0x44]
call fcn.00417260
lea ecx, [ebp - 0x48]
call fcn.00417260
lea ecx, [ebp - 0x4c]
call fcn.00417260
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x6c], eax
call fcn.00419ad0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x44]
push eax
mov dword [ebp - 0x68], eax
call fcn.00419ad0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x48]
push eax
mov dword [ebp - 0x64], eax
call fcn.00419ad0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x4c]
push eax
mov dword [ebp - 0x60], eax
call fcn.00419ad0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], 0
jne 0x413a77
push 0x24
push str.Missing_information:_Printer_Driver.
jmp 0x413ba8
mov ecx, dword [ebp - 0x38]
cmp dword [ecx - 0xc], 0
jne 0x413a8c
push 0x21
push str.Missing_information:_File_Status.
jmp 0x413ba8
push str.TechniData_Labeling_Printer_Driver
push eax
call fcn.005666e7
add esp, 8
test eax, eax
je 0x413ad3
push str.SAP_EHS_WWI_HVP
push dword [ebp - 0x28]
call fcn.005666e7
add esp, 8
test eax, eax
je 0x413ad3
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
je 0x413b7c
push 0x27
push str.Unexpected_information:_Driver_Details.
lea ecx, [ebp - 0x10]
call fcn.0040b2c0
jmp 0x413b7c
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
jne 0x413af0
push 0x24
push str.Missing_information:_Driver_Details.
lea ecx, [ebp - 0x10]
call fcn.0040b2c0
jmp 0x413b7c
mov ecx, dword [edi - 8]
mov edx, 1
sub edx, dword [edi - 4]
sub ecx, 0x100
or ecx, edx
jge 0x413b18
push 0x100
lea ecx, [ebp - 0x1c]
call fcn.0040b0e0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
push 0x100
push edi
lea ecx, [ebp - 0x30]
push ecx
push str.0x_02X_s
push eax
call fcn.0040a990
push dword [edi - 8]
push edi
call fcn.00566c42
add esp, 0x1c
test eax, eax
js 0x4141fc
cmp eax, dword [edi - 8]
jg 0x4141fc
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea ecx, [ebp - 0x1c]
call fcn.00417b80
mov eax, dword [ebp - 0x30]
cmp eax, 4
ja case.default.0x413b63
jmp dword [eax*4 + 0x414220]
push 0x28
push str.Invalid_value:_TD_Printer_Driver_PlugIn.
lea ecx, [ebp - 0x10]
call fcn.0040b2c0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x413bb0
push dword [ebp - 0x38]
call fcn.0056e7e9
mov ebx, eax
add esp, 4
mov ecx, ebx
mov dword [ebp - 0x50], ebx
sub ecx, 1
je 0x413bb0
sub ecx, 2
je 0x413bb0
push 0x1b
push str.Invalid_value:_File_Status.
lea ecx, [ebp - 0x10]
call fcn.0040b2c0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x413ed9
mov eax, dword [ebp - 0x14]
push 1
mov eax, dword [eax]
mov ebx, dword [eax + 0x194]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x14]
call ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0xc4], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebx + 0xc8]
sub edx, 0x10
mov dword [ebp - 0x5c], edx
lea ecx, [eax - 0x10]
mov dword [ebp - 0x54], ecx
cmp ecx, edx
je 0x413c6c
cmp dword [edx + 0xc], 0
lea ebx, [edx + 0xc]
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x14]
jl 0x413c5d
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x413c5d
push dword [ebp - 0x54]
call fcn.0040a8a0
mov dword [ebp - 0x54], eax
add esp, 4
mov eax, dword [ebp - 0x58]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413c4f
mov ecx, dword [ebp - 0x5c]
lfence
push ecx
mov eax, dword [ecx]
mov dword [ebp - 0x5c], eax
mov edx, dword [eax]
mov ebx, dword [edx + 4]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x5c]
call ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x54]
add eax, 0x10
mov dword [ebx + 0xc8], eax
jmp 0x413c6c
push dword [eax - 0xc]
lea ecx, [ebx + 0xc8]
push eax
call fcn.0040b2c0
mov eax, dword [ebp - 0x30]
lea edx, [edi - 0x10]
mov dword [ebx + 0xcc], eax
lea eax, [ebx + 0xd0]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x58], ecx
cmp edx, ecx
je 0x413cfa
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x14]
jl 0x413cef
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x413ce9
push edx
call fcn.0040a8a0
mov dword [ebp - 0x54], eax
add esp, 4
mov eax, dword [ebp - 0x5c]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413cdb
mov ecx, dword [ebp - 0x58]
lfence
push ecx
mov eax, dword [ecx]
mov dword [ebp - 0x5c], eax
mov edx, dword [eax]
mov ebx, dword [edx + 4]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x5c]
call ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x54]
add eax, 0x10
mov dword [ebx + 0xd0], eax
jmp 0x413cfa
lea eax, [ebx + 0xd0]
push dword [edi - 0xc]
mov ecx, eax
push edi
call fcn.0040b2c0
mov eax, dword [ebp - 0x50]
lea edx, [ebx + 0xd8]
mov ecx, dword [ebp - 0x34]
mov dword [ebx + 0xd4], eax
add ecx, 0xfffffff0
mov ebx, dword [edx]
sub ebx, 0x10
mov dword [ebp - 0x54], edx
cmp ecx, ebx
je 0x413d78
cmp dword [ebx + 0xc], 0
jl 0x413d6a
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x413d6a
push ecx
call fcn.0040a8a0
add esp, 4
mov dword [ebp - 0x58], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413d60
lfence
mov eax, dword [ebx]
push ebx
mov dword [ebp - 0x5c], eax
mov edx, dword [eax]
mov ebx, dword [edx + 4]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x5c]
call ebx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
add eax, 0x10
mov dword [ecx], eax
jmp 0x413d78
mov eax, dword [ebp - 0x34]
mov ecx, edx
push dword [eax - 0xc]
push eax
call fcn.0040b2c0
cmp byte [ebp + 0x10], 0
je 0x413ed9
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
push ecx
mov eax, dword [eax]
mov ebx, dword [eax + 0x1b0]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x14]
call ebx
mov byte [ebp - 4], 0xd
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x10]
add ebx, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x413e0a
cmp dword [ebx + 0xc], 0
jl 0x413dfe
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x413dfe
push edx
call fcn.0040a8a0
add esp, 4
mov dword [ebp - 0x58], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413df6
lfence
mov eax, dword [ebx]
push ebx
mov dword [ebp - 0x5c], eax
mov edx, dword [eax]
mov ebx, dword [edx + 4]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x5c]
call ebx
mov eax, dword [ebp - 0x58]
add eax, 0x10
mov dword [ebp - 0x10], eax
jmp 0x413e0a
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040b2c0
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x413e3c
lfence
mov eax, dword [ecx]
mov dword [ebp - 0x5c], eax
push ecx
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x5c]
call ebx
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x413e5f
mov eax, dword [ebp - 0x14]
push 0
mov eax, dword [eax]
mov ebx, dword [eax + 0x194]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x14]
call ebx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x20], 0
je 0x413ed9
mov eax, dword [eax]
lea ecx, [ebp - 0x50]
push ecx
mov ebx, dword [eax + 0x18c]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x14]
call ebx
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
push dword [ebp - 0x50]
lea ecx, [ecx + 0x428]
call fcn.0041c484
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x413ea7
lea ecx, [ebp - 0x10]
call fcn.0040af30
mov byte [ebp - 4], 0xc
or eax, 0xffffffff
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x413ed9
lfence
mov eax, dword [ecx]
mov dword [ebp - 0x5c], eax
push ecx
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x5c]
call ebx
mov byte [ebp - 4], 0xb
or eax, 0xffffffff
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x413f0b
lfence
mov eax, dword [ecx]
mov dword [ebp - 0x5c], eax
push ecx
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x5c]
call ebx
mov byte [ebp - 4], 0xa
or eax, 0xffffffff
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x413f3d
lfence
mov eax, dword [ecx]
mov dword [ebp - 0x5c], eax
push ecx
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x5c]
call ebx
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x413f6f
lfence
mov eax, dword [ecx]
mov dword [ebp - 0x5c], eax
push ecx
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x5c]
call ebx
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x413fa1
lfence
mov eax, dword [ecx]
mov dword [ebp - 0x5c], eax
push ecx
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x597998]
mov ecx, dword [ebp - 0x5c]
call ebx
mov byte [ebp - 4], 7
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x413fcc
lfence
mov ebx, dword [edi]
push edi
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x597998]
mov ecx, ebx
call edi
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov ecx, dword [ebp - 0x60]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x413ffa
lfence
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x597998]
mov ecx, ebx
call edi
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov ecx, dword [ebp - 0x64]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x414028
lfence
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x597998]
mov ecx, ebx
call edi
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x68]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x414056
lfence
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x597998]
mov ecx, ebx
call edi
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x414084
lfence
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x597998]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x41409c
push ecx
call fcn.0056d3d5
add esp, 4
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4140cc
lfence
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x597998]
mov ecx, ebx
call esi
or esi, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edi - 0x10]
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x414132
lfence
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x597998]
mov ecx, edi
call esi
or esi, 0xffffffff
jmp 0x414132
push 0x14
push str.Invalid_file_format.
lea ecx, [ebp - 0x10]
call fcn.0040b2c0
push ebx
call fcn.0056d3d5
add esp, 4
xor ecx, ecx
jmp 0x41408a
push 0x14
push str.Unable_to_open_file.
jmp 0x41412a
push 0x14
push str.File_does_not_exist.
lea ecx, [ebp - 0x10]
call fcn.0040b2c0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x414188
push 8
push str._n_File_
lea ecx, [ebp - 0x10]
call fcn.0040a7b0
mov eax, dword [ebp - 0x70]
mov edx, dword [eax]
test edx, edx
jne 0x414157
xor ecx, ecx
jmp 0x41416f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414160
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.0040a7b0
push 1
push 0x5de998
lea ecx, [ebp - 0x10]
call fcn.0040a7b0
mov ebx, dword [ebp - 0x10]
add ebx, 0xfffffff0
push ebx
call fcn.0040a8a0
mov ecx, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [ecx], eax
lock xadd dword [ebx + 0xc], esi
dec esi
test esi, esi
jg 0x4141c7
lfence
mov edi, dword [ebx]
push ebx
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x597998]
mov ecx, edi
call esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.0040b400
push 0x80004005
call fcn.0040b400
push 0x80004005
call fcn.0040b400
push 0x80070057
call fcn.0040b400
push 0x80004005
call fcn.0040b400
call fcn.0040b080
push 0x80004005
call fcn.0040b400
nop
jns 0x41425d
inc ecx
add byte [ecx + 0x3b], bh
inc ecx
add byte [ecx + 0x3b], bh
inc ecx
add byte [ecx + 0x3b], bh
inc ecx
add byte [ecx + 0x3b], bh
inc ecx
add ah, cl
int3
lds edx, [eax - 0x73]
inc ebp
hlt