Function at 0x43bc10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x583008]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x7c], 2
mov eax, 1
mov word [ebp - 4], ax
cmp dword [0x5869cc], 0
jne 0x43bc65
push 0x2a5a
call fcn.004fdfb5
add esp, 4
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x178]
mov dword [0x5869cc], ecx
xor edx, edx
mov eax, dword [0x5869cc]
mov word [eax], dx
push 0x551118
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0051d430
add esp, 8
test eax, eax
jne 0x43bc81
xor eax, eax
jmp 0x43bf0f
push 0x55111c
mov edx, dword [ebp + 0xc]
push edx
call fcn.0051d430
add esp, 8
test eax, eax
jne 0x43bc9d
xor eax, eax
jmp 0x43bf0f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x551120
lea edx, [ebp - 0x100]
push edx
call fcn.0043c340
add esp, 0x10
push 0x551128
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.0051b92b
add esp, 0xc
test eax, eax
je 0x43bcdc
xor eax, eax
jmp 0x43bf0f
mov edx, dword [ebp - 0xc]
push edx
push 1
push 1
push 0x5869c8
call fcn.0051f1c4
add esp, 0x10
mov eax, dword [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.0051f1c4
add esp, 0x10
xor eax, eax
mov word [ebp - 8], ax
jmp 0x43bd1e
mov cx, word [ebp - 8]
add cx, 1
mov word [ebp - 8], cx
movsx edx, word [ebp - 8]
movsx eax, word [ebp - 0x104]
cmp edx, eax
jge 0x43beff
mov ecx, dword [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp - 0x7c]
push edx
movsx eax, word [ebp - 8]
lea ecx, [ebp + eax*2 - 0x170]
push ecx
call fcn.0051f1c4
add esp, 0x10
movsx edx, word [ebp - 8]
mov dword [ebp - 0x17c], edx
cmp dword [ebp - 0x17c], 4
ja case.default.0x43bd6c
mov eax, dword [ebp - 0x17c]
jmp dword [eax*4 + 0x43bf20]
mov ecx, dword [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp - 0x7c]
push edx
movsx eax, word [ebp - 8]
lea ecx, [ebp + eax*2 - 0x78]
push ecx
call fcn.0051f1c4
add esp, 0x10
mov edx, dword [ebp - 0xc]
push edx
push 1
movsx eax, word [ebp - 8]
movsx ecx, word [ebp + eax*2 - 0x78]
push ecx
mov edx, dword [0x5869cc]
push edx
call fcn.0051f1c4
add esp, 0x10
jmp case.default.0x43bd6c
xor eax, eax
mov word [ebp - 0x174], ax
jmp 0x43bdcf
mov cx, word [ebp - 0x174]
add cx, 1
mov word [ebp - 0x174], cx
movsx edx, word [ebp - 0x174]
movsx eax, word [ebp - 8]
movsx ecx, word [ebp + eax*2 - 0x170]
cmp edx, ecx
jge 0x43be30
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp - 0x7c]
push eax
movsx ecx, word [ebp - 8]
lea edx, [ebp + ecx*2 - 0x78]
push edx
call fcn.0051f1c4
add esp, 0x10
mov eax, dword [ebp - 0xc]
push eax
push 1
movsx ecx, word [ebp - 8]
movsx edx, word [ebp + ecx*2 - 0x78]
push edx
movsx eax, word [ebp - 0x174]
imul eax, eax, 0x36
mov ecx, dword [0x5869cc]
lea edx, [ecx + eax + 2]
push edx
call fcn.0051f1c4
add esp, 0x10
jmp 0x43bdbd
jmp case.default.0x43bd6c
mov eax, dword [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x7c]
push ecx
movsx edx, word [ebp - 8]
lea eax, [ebp + edx*2 - 0x78]
push eax
call fcn.0051f1c4
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
push 1
movsx edx, word [ebp - 8]
movsx eax, word [ebp + edx*2 - 0x78]
push eax
mov ecx, dword [0x5869cc]
add ecx, 0x2a32
push ecx
call fcn.0051f1c4
add esp, 0x10
jmp case.default.0x43bd6c
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp - 0x7c]
push eax
movsx ecx, word [ebp - 8]
lea edx, [ebp + ecx*2 - 0x78]
push edx
call fcn.0051f1c4
add esp, 0x10
mov eax, dword [ebp - 0xc]
push eax
push 1
movsx ecx, word [ebp - 8]
movsx edx, word [ebp + ecx*2 - 0x78]
push edx
mov eax, dword [0x5869cc]
add eax, 0x2a3a
push eax
call fcn.0051f1c4
add esp, 0x10
jmp case.default.0x43bd6c
mov ecx, dword [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp - 0x7c]
push edx
movsx eax, word [ebp - 8]
lea ecx, [ebp + eax*2 - 0x78]
push ecx
call fcn.0051f1c4
add esp, 0x10
mov edx, dword [ebp - 0xc]
push edx
push 1
movsx eax, word [ebp - 8]
movsx ecx, word [ebp + eax*2 - 0x78]
push ecx
mov edx, dword [0x5869cc]
add edx, 0x2a42
push edx
call fcn.0051f1c4
add esp, 0x10
jmp 0x43bd12
mov eax, dword [ebp - 0xc]
push eax
call fcn.0051b57d
add esp, 4
movsx eax, word [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051b97e
mov esp, ebp
pop ebp
ret