Function at 0x43d930
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa22c
mov eax, dword fs:[0]
push eax
mov eax, 0x1484
call fcn.004894c0
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], 0
cmp dword [ebp + 0x24], 0
je 0x43d981
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x1470], edx
jmp 0x43d98b
mov dword [ebp - 0x1470], 0
mov eax, dword [ebp - 0x1470]
mov dword [ebp - 0x440], eax
push 0xa
lea ecx, [ebp - 0x434]
call fcn.004134c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00412610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x448]
call fcn.00412610
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x532bd8
call fcn.00411aa0
add eax, 0x3a00
mov ecx, eax
call fcn.00413130
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x43da4a
lea edx, [ebp - 0x418]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x532bd8
call fcn.00411aa0
add eax, 0x3a00
mov ecx, eax
call fcn.00414150
push eax
lea ecx, [ebp - 0x438]
call fcn.004014b0
lea ecx, [ebp - 0x438]
call fcn.00401510
push eax
lea ecx, [ebp - 0x448]
call fcn.00412670
lea ecx, [ebp - 0x448]
push ecx
lea ecx, [ebp - 0x434]
call fcn.00413520
jmp 0x43d9e9
cmp dword [ebp + 0x14], 0
je 0x43da71
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x532bd8
call fcn.00411aa0
mov ecx, eax
call fcn.00411c80
mov dword [ebp - 0x1474], eax
jmp 0x43da8c
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x532bd8
call fcn.00411aa0
mov ecx, eax
call fcn.00411c60
mov dword [ebp - 0x1474], eax
cmp dword [ebp - 0x1474], 0
je 0x43e1eb
cmp dword [ebp + 0x14], 0
je 0x43dac0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x532bd8
call fcn.00411aa0
mov ecx, eax
call fcn.00427a50
mov dword [ebp - 0x1478], eax
jmp 0x43dadb
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x532bd8
call fcn.00411aa0
mov ecx, eax
call fcn.00410c90
mov dword [ebp - 0x1478], eax
mov edx, dword [ebp - 0x1478]
mov dword [ebp - 0x44c], edx
cmp dword [ebp - 0x44c], 0
je 0x43e1eb
cmp dword [ebp + 0x14], 0
je 0x43dd21
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x147c], eax
cmp dword [ebp - 0x147c], 0x2100
jg 0x43db76
cmp dword [ebp - 0x147c], 0x2100
je 0x43dc48
cmp dword [ebp - 0x147c], 0x900
jg 0x43db61
cmp dword [ebp - 0x147c], 0x900
je 0x43dc0a
cmp dword [ebp - 0x147c], 0xd
je 0x43dbcc
cmp dword [ebp - 0x147c], 0x500
je 0x43dbeb
jmp 0x43dcda
cmp dword [ebp - 0x147c], 0x1100
je 0x43dc29
jmp 0x43dcda
cmp dword [ebp - 0x147c], 0x802100
jg 0x43dbb7
cmp dword [ebp - 0x147c], 0x802100
je 0x43dca2
cmp dword [ebp - 0x147c], 0x4100
je 0x43dc67
cmp dword [ebp - 0x147c], 0x801100
je 0x43dc86
jmp 0x43dcda
cmp dword [ebp - 0x147c], 0x804100
je 0x43dcbe
jmp 0x43dcda
mov ecx, 0x53d298
call fcn.0040f9e0
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4 + 0xa30]
mov dword [ebp - 0x450], edx
jmp 0x43dd1f
mov ecx, 0x53d298
call fcn.0040f9e0
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4 + 0xad0]
mov dword [ebp - 0x450], edx
jmp 0x43dd1f
mov ecx, 0x53d298
call fcn.0040f9e0
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4 + 0xb20]
mov dword [ebp - 0x450], edx
jmp 0x43dd1f
mov ecx, 0x53d298
call fcn.0040f9e0
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4 + 0xb70]
mov dword [ebp - 0x450], edx
jmp 0x43dd1f
mov ecx, 0x53d298
call fcn.0040f9e0
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4 + 0xc10]
mov dword [ebp - 0x450], edx
jmp 0x43dd1f
mov ecx, 0x53d298
call fcn.0040f9e0
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4 + 0xbc0]
mov dword [ebp - 0x450], edx
jmp 0x43dd1f
mov ecx, 0x53d298
call fcn.0040f9e0
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4 + 0xc60]
mov dword [ebp - 0x450], edx
jmp 0x43dd1f
mov ecx, 0x53d298
call fcn.0040f9e0
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4 + 0xd00]
mov dword [ebp - 0x450], edx
jmp 0x43dd1f
mov ecx, 0x53d298
call fcn.0040f9e0
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4 + 0xcb0]
mov dword [ebp - 0x450], edx
jmp 0x43dd1f
mov dword [ebp - 0x1464], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x448]
call fcn.00412630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00412630
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.00413580
mov eax, dword [ebp - 0x1464]
jmp 0x43e233
jmp 0x43dd3b
mov ecx, 0x53d298
call fcn.0040f9e0
mov ecx, dword [ebp + 8]
mov edx, dword [eax + ecx*4 + 0x20c]
mov dword [ebp - 0x450], edx
mov dword [ebp - 0x454], 0
cmp dword [ebp + 0x14], 0
jne 0x43e0b9
mov dword [ebp - 0x454], 0
jmp 0x43dd6a
mov eax, dword [ebp - 0x454]
add eax, 1
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x532bd8
call fcn.00411aa0
mov ecx, eax
call fcn.00411bc0
cmp dword [ebp - 0x454], eax
jge 0x43e0b9
mov edx, dword [ebp - 0x454]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x532bd8
call fcn.00411aa0
mov ecx, eax
call fcn.0043d540
mov dword [ebp - 0x1058], eax
lea ecx, [ebp - 0x1460]
push ecx
push 0x4c042a
push 0x400
lea edx, [ebp - 0xc54]
push edx
mov eax, dword [ebp - 0x1058]
push eax
call fcn.004885d6
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp - 0x1058]
push ecx
push 0
push 0
call dword [0x4e571c]
mov edx, dword [ebp - 0x454]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x532bd8
call fcn.00411aa0
mov ecx, eax
call fcn.00411be0
mov dword [ebp - 0x1058], eax
lea ecx, [ebp - 0x1460]
push ecx
push 0x4c042b
push 0x400
lea edx, [ebp - 0x145c]
push edx
mov eax, dword [ebp - 0x1058]
push eax
call fcn.004885d6
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp - 0x1058]
push ecx
push 0
push 0
call dword [0x4e571c]
mov edx, dword [ebp - 0x454]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x532bd8
call fcn.00411aa0
mov ecx, eax
call fcn.00411c20
mov dword [ebp - 0x1058], eax
lea ecx, [ebp - 0x1460]
push ecx
push 0x4c04ce
push 0x400
lea edx, [ebp - 0x854]
push edx
mov eax, dword [ebp - 0x1058]
push eax
call fcn.004885d6
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp - 0x1058]
push ecx
push 0
push 0
call dword [0x4e571c]
mov edx, dword [ebp - 0x454]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x532bd8
call fcn.00411aa0
mov ecx, eax
call fcn.00440230
mov dword [ebp - 0x1058], eax
lea ecx, [ebp - 0x1460]
push ecx
push 0x4c04cf
push 0x400
lea edx, [ebp - 0x1054]
push edx
mov eax, dword [ebp - 0x1058]
push eax
call fcn.004885d6
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp - 0x1058]
push ecx
push 0
push 0
call dword [0x4e571c]
lea edx, [ebp - 0x1054]
push edx
call fcn.00489c70
add esp, 4
test eax, eax
je 0x43df24
lea eax, [ebp - 0x1054]
mov dword [ebp - 0x1480], eax
jmp 0x43df2e
mov dword [ebp - 0x1480], 0x4c04f2
lea ecx, [ebp - 0x1054]
push ecx
call fcn.00489c70
add esp, 4
test eax, eax
je 0x43df4d
mov dword [ebp - 0x1484], str._LOCATION:
jmp 0x43df57
mov dword [ebp - 0x1484], 0x4c04f3
mov edx, dword [ebp - 0x454]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x532bd8
call fcn.00411aa0
mov ecx, eax
call fcn.00411be0
push eax
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.0041fea0
add esp, 8
movzx edx, al
test edx, edx
je 0x43df93
mov dword [ebp - 0x1488], str._DEFAULT
jmp 0x43df9d
mov dword [ebp - 0x1488], 0x4c04f6
movzx eax, byte [0x53ed8d]
test eax, eax
jne 0x43dfc5
mov ecx, dword [ebp - 0x450]
cmp dword [ecx + 0x24], 0
je 0x43dfc5
mov edx, dword [ebp - 0x450]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x148c], eax
jmp 0x43dfee
mov ecx, 0x53d298
call fcn.0040f9e0
mov esi, eax
mov ecx, 0x53d298
call fcn.0040f9e0
mov ecx, dword [eax + 0x7b0]
mov edx, dword [esi + ecx*4 + 0x490]
mov dword [ebp - 0x148c], edx
mov eax, dword [ebp - 0x1480]
push eax
mov ecx, dword [ebp - 0x1484]
push ecx
mov edx, dword [ebp - 0x1488]
push edx
lea eax, [ebp - 0x854]
push eax
lea ecx, [ebp - 0x145c]
push ecx
mov edx, dword [ebp - 0x148c]
push edx
lea eax, [ebp - 0xc54]
push eax
push str.PRT:_s__04x__s__s_s_s_s_r_n
lea ecx, [ebp - 0x414]
push ecx
call fcn.00489bd8
add esp, 0x24
push 0
lea edx, [ebp - 0x444]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.00489c70
add esp, 4
push eax
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x43c], eax
jne 0x43e06d
jmp 0x43e0b9
lea eax, [ebp - 0xc54]
push eax
lea ecx, [ebp - 0x448]
call fcn.00440370
push 0
lea ecx, [ebp - 0x448]
push ecx
lea ecx, [ebp - 0x434]
call fcn.00440450
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x43e0b4
mov edx, dword [ebp - 0x418]
push edx
lea ecx, [ebp - 0x434]
call fcn.004403e0
jmp 0x43dd5b
lea ecx, [ebp - 0x434]
call fcn.00413130
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x43e1eb
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x434]
call fcn.004458c0
push eax
lea ecx, [ebp - 0x448]
call fcn.00412650
movzx ecx, byte [0x53ed8d]
test ecx, ecx
jne 0x43e11d
mov edx, dword [ebp - 0x450]
cmp dword [edx + 0x24], 0
je 0x43e11d
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x1490], ecx
jmp 0x43e146
mov ecx, 0x53d298
call fcn.0040f9e0
mov esi, eax
mov ecx, 0x53d298
call fcn.0040f9e0
mov edx, dword [eax + 0x7b0]
mov eax, dword [esi + edx*4 + 0x490]
mov dword [ebp - 0x1490], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x1490]
push edx
mov eax, dword [ebp - 0x448]
push eax
push str.DRV:_s__04x__d_r_n
lea ecx, [ebp - 0x414]
push ecx
call fcn.00489bd8
add esp, 0x14
push 0
lea edx, [ebp - 0x444]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.00489c70
add esp, 4
push eax
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x43c], eax
jne 0x43e1e6
mov dword [ebp - 0x1468], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x448]
call fcn.00412630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00412630
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.00413580
mov eax, dword [ebp - 0x1468]
jmp 0x43e233
jmp 0x43e0ca
xor eax, eax
cmp dword [ebp - 0x43c], 0
setne al
mov dword [ebp - 0x146c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x448]
call fcn.00412630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00412630
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x434]
call fcn.00413580
mov eax, dword [ebp - 0x146c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret