Function at 0x543ca0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
push ebx
push esi
push edi
push 0x4956c4
call dword [fcn.0048d194]
mov ebx, eax
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x543fd5
mov esi, dword [fcn.0048d2d0]
push 0x4956cc
push ebx
call esi
push 0x4956dc
push ebx
mov dword [esp + 0x1c], eax
call esi
push 0x4956f0
push ebx
mov dword [esp + 0x24], eax
call esi
push 0x495704
mov edi, eax
push ebx
mov dword [esp + 0x20], edi
call esi
push 0x495718
push ebx
mov dword [esp + 0x18], eax
call esi
cmp dword [esp + 0x14], 0
mov dword [esp + 0x28], eax
je 0x543fd5
cmp dword [esp + 0x1c], 0
je 0x543fd5
test edi, edi
je 0x543fd5
cmp dword [esp + 0x10], 0
je 0x543fd5
test eax, eax
je 0x543fd5
mov esi, dword [ebp + 8]
mov dword [esp + 0x24], 0x84000000
mov al, byte [esi]
cmp al, 0x20
je 0x543d52
cmp al, 9
jne 0x543d55
inc esi
jmp 0x543d48
cmp byte [esi], 0x2a
jne 0x543d83
inc esi
call fcn.0050d0d0
mov dword [esp + 0x24], eax
mov edi, 0x4918e4
mov eax, esi
call fcn.00503ff0
test eax, eax
je 0x543d83
mov esi, eax
mov al, byte [esi]
cmp al, 0x20
je 0x543d80
cmp al, 9
jne 0x543d83
inc esi
jmp 0x543d76
push 0
push 0
push 0
push 4
push 0x4900b4
call dword [esp + 0x28]
mov dword [esp + 0x14], eax
test eax, eax
je 0x543dbc
mov ecx, dword [esp + 0x24]
push 0
push ecx
push 0
push 0
push esi
push eax
call dword [esp + 0x34]
mov edi, eax
test edi, edi
jne 0x543dc8
mov edx, dword [esp + 0x14]
push edx
call dword [esp + 0x1c]
push ebx
call dword [fcn.0048d198]
jmp 0x543fd5
mov eax, dword [ebp + 0xc]
push 0x49572c
push eax
call fcn.005757c6
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x543dfd
mov esi, dword [esp + 0x18]
push edi
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call dword [fcn.0048d198]
jmp 0x543fd5
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x2c], 0x28
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x400
mov al, byte [esi]
cmp al, 0x68
je 0x543ef0
cmp al, 0x48
je 0x543ef0
lea ecx, [esp + 0x10]
push ecx
push 0x400
lea edx, [esp + 0x78]
push edx
push edi
call dword [esp + 0x38]
mov esi, eax
test esi, esi
je 0x543f86
cmp dword [esp + 0x10], 0
je 0x543f86
mov esi, dword [fcn.0048d2e4]
call esi
sub eax, dword [0x4a3104]
mov ecx, dword [0x49d3c8]
cmp eax, dword [ecx + 0xb0]
jbe 0x543ebc
push 0
push 0
push 0
push 0
lea edx, [esp + 0x64]
push edx
call dword [fcn.0048d5f4]
test eax, eax
je 0x543eb5
push 1
push 0xffffffffffffffff
call fcn.004fc740
add esp, 8
call esi
mov dword [0x4a3104], eax
mov eax, dword [esp + 0x10]
push ebx
push 1
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.00575934
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push 0x400
lea eax, [esp + 0x78]
push eax
push edi
call dword [esp + 0x38]
mov esi, eax
test esi, esi
jne 0x543e6b
jmp 0x543f86
push 0
push 8
lea ecx, [esp + 0x34]
push ecx
push edi
call dword [esp + 0x20]
mov esi, eax
test esi, esi
je 0x543f86
cmp dword [esp + 0x44], 0
je 0x543f86
mov esi, dword [fcn.0048d2e4]
call esi
sub eax, dword [0x4a3104]
mov edx, dword [0x49d3c8]
cmp eax, dword [edx + 0xb0]
jbe 0x543f55
push 0
push 0
push 0
push 0
lea eax, [esp + 0x64]
push eax
call dword [fcn.0048d5f4]
test eax, eax
je 0x543f4e
push 1
push 0xffffffffffffffff
call fcn.004fc740
add esp, 8
call esi
mov dword [0x4a3104], eax
mov ecx, dword [esp + 0x44]
push ebx
push 1
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.00575934
add esp, 0x10
push 0
push 8
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x54], 0x400
call dword [esp + 0x20]
mov esi, eax
test esi, esi
jne 0x543f08
push edi
mov edi, dword [esp + 0x1c]
call edi
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0x20]
push edx
call dword [fcn.0048d198]
push ebx
call fcn.00575a1b
add esp, 4
test esi, esi
je 0x543fcb
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4900b0
call fcn.00561cb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
call dword [fcn.0048d16c]
mov ecx, dword [0x4a13a4]
push 1
push 0
push 0xffffffffffffffff
push 0x4916f4
call fcn.00561cb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8