Function at 0x43ea30
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x450
mov eax, dword [0x5a05c4]
lea edi, [ecx + 4]
xor eax, ebp
mov dword [esp + 0x448], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 4]
mov edx, dword [eax + 4]
test byte [ecx + edx + 0x14], 5
je 0x43ea77
movaps xmm0, xmmword [0x557250]
mov dword [esp + 8], 0xffffffff
movaps xmmword [esp + 0x40], xmm0
jmp 0x43ea97
mov ecx, dword [edi + edx + 0x18]
lea edx, [esp + 0x40]
mov eax, dword [ecx]
push 0x10
push 1
push 0
push 0
push edx
call dword [eax + 0xc]
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea esi, [esp + 0x40]
add ecx, edi
push esi
call fcn.00410cf0
mov ecx, esi
push 0x5a16b8
call fcn.004222a8
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
mov ecx, esi
mov ebx, eax
call fcn.00413c52
movsx eax, bl
mov ecx, edi
push eax
call fcn.00411c70
mov ecx, edi
mov esi, edi
call fcn.00410bf0
mov edi, dword [esp + 0x14]
lea ebx, [esp + 0x24]
lea ecx, [edi + 8]
mov dword [esp + 0x18], ecx
push ebx
call fcn.0040c354
test byte [0x59f744], 0x19
jne 0x43eddb
mov eax, dword [0x5a1dc0]
test eax, eax
je 0x43eb31
push ebx
push dword [edi + 0x8c]
push dword [edi + 0x94]
push dword [edi + 0x90]
push dword [edi]
call eax
add esp, 0x14
test al, al
je 0x43eb31
cmp byte [esp + 0x2f], 0
jns 0x43ed78
jmp 0x43ed6c
mov eax, dword [0x59f3f4]
test al, 2
je 0x43eb51
cmp byte [esp + 0x2f], 0
jns 0x43eb45
mov ebx, dword [esp + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x59f3f4]
test al, 4
jne 0x43eb5f
cmp eax, 1
ja 0x43eba3
cmp dword [edi], 2
jl 0x43eba3
push 2
call fcn.0052c5af
add esp, 4
movzx ecx, byte [esp + 0x2f]
lea edx, [esp + 0x24]
test cl, cl
cmovs ecx, dword [esp + 0x28]
cmovs edx, dword [esp + 0x24]
push eax
push 1
push ecx
push edx
call fcn.005402cd
add esp, 0x10
push 2
call fcn.0052c5af
add esp, 4
push eax
call fcn.0053f2f6
add esp, 4
mov eax, dword [0x59f3f4]
test al, 1
je 0x43ebda
call fcn.0043e390
test al, al
je 0x43ebda
movzx eax, byte [esp + 0x2f]
lea ecx, [esp + 0x24]
test al, al
cmovs eax, dword [esp + 0x28]
cmovs ecx, dword [esp + 0x24]
push 0
lea edx, [esp + 0x44]
push edx
push eax
push ecx
push dword [0x5a1dcc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [edi], 3
jne 0x43ec26
mov ecx, dword [0x5a43b4]
lea ebx, [esp + 0x24]
test ecx, ecx
je 0x43ec07
movzx eax, byte [esp + 0x2f]
mov edx, ebx
test al, al
jns 0x43ec00
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push eax
push edx
call fcn.0047fdc0
cmp byte [ebx + 0xb], 0
mov dword [esp + 0x40], 0xbedead01
mov dword [esp + 0x444], 0x5050dead
jns 0x43ec2f
mov eax, dword [esp + 0x24]
jmp 0x43ec33
lea ebx, [esp + 0x24]
jmp 0x43ed66
lea eax, [esp + 0x24]
lea ecx, [esp + 0x44]
push 0x400
push eax
push ecx
call fcn.004481a0
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.0040de20
add esp, 4
mov ecx, dword [0x5a4294]
mov edx, dword fs:[0x2c]
mov eax, dword [0x5a1de0]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43eecd
mov eax, dword [0x5a1dd8]
cmp eax, dword [0x5a1ddc]
je 0x43ef75
mov ecx, dword [0x5a4294]
mov edx, dword fs:[0x2c]
mov eax, dword [0x5a1de0]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x43ef21
mov eax, dword [0x5a1ddc]
mov ecx, dword [0x5a1dd4]
mov dword [esp + 4], esi
test eax, eax
cmove eax, ecx
dec eax
cmp ecx, eax
jb 0x43ef78
shl eax, 2
lea ecx, [esp + 0x1c]
add eax, dword [0x5a1dd0]
push eax
call fcn.00436f70
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x43ed59
cmp byte [ebx + 0xb], 0
mov dword [esp], ebx
jns 0x43eced
mov ebx, dword [esp + 0x24]
jmp 0x43ecf1
lea ebx, [esp + 0x24]
mov eax, dword [esp + 8]
test ebx, ebx
mov dword [esp + 0x10], ecx
lea eax, [ebx + eax]
mov dword [esp + 0xc], eax
je 0x43ed0f
push eax
call fcn.00541da0
add esp, 4
jmp 0x43ed11
xor eax, eax
mov ecx, dword [edi + 0x8c]
mov esi, dword [esp + 8]
mov edx, dword [edi + 0x94]
add ebx, ecx
sub esi, ecx
mov ecx, dword [edi + 0x90]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
lea ebx, [esp + 0x38]
push eax
push ebx
push edx
push ecx
mov eax, dword [esp + 0x20]
push eax
call dword [eax + 4]
add esp, 0x14
mov ebx, dword [esp]
lea ecx, [esp + 0x1c]
call fcn.00436f50
mov esi, dword [esp + 4]
cmp byte [ebx + 0xb], 0
jns 0x43ed78
push dword [esp + 0x24]
call fcn.005272d6
add esp, 4
lea ecx, [edi + 0x9c]
call fcn.0047de90
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
mov dword [edi + eax + 4], 0x5571b8
mov dword [edi + 8], 0x5571c0
cmp byte [edi + 0x33], 0
lea edi, [edi + 0x3c]
jns 0x43edac
push dword [esi + 0x24]
call fcn.005272d6
add esp, 4
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.00410854
mov ecx, esi
call fcn.0040de20
mov ecx, edi
call fcn.0041084a
mov ecx, dword [esp + 0x448]
xor ecx, ebp
call fcn.00527311
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [esp + 0x2f]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], esi
test al, al
cmovs eax, dword [esp + 0x28]
cmovns ecx, ebx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push 0xffffffffffffffff
push dword [edi + 0x8c]
push eax
push ecx
call fcn.00445fd0
add esp, 0x10
push 0x18
call fcn.00527256
add esp, 4
mov esi, eax
mov ecx, eax
push dword [edi + 0x94]
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [edi + 0x90]
call fcn.00480780
call fcn.00429540
mov dword [esp], eax
lea eax, [esp + 0x38]
push eax
call fcn.004597a0
add esp, 4
mov word [esp + 0x40], 0x801
mov dword [esp + 0x44], str.message
mov dword [esp + 0x50], esi
push 0x8008
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0xc]
push 0
push 0
push 0
push 0
push 0
push str.LogMessage
push 0x59f744
push 0x49
call fcn.0044dba0
add esp, 0x30
mov al, byte [esp + 0x40]
test al, al
je 0x43eec4
xor esi, esi
jmp 0x43eea8
inc esi
movzx ecx, al
cmp esi, ecx
jae 0x43eec4
cmp byte [esp + esi + 0x41], 8
jne 0x43eea0
mov ecx, dword [esp + esi*8 + 0x50]
test ecx, ecx
je 0x43eea0
mov eax, dword [ecx]
push 1
call dword [eax]
movzx eax, byte [esp + 0x40]
jmp 0x43eea0
mov esi, dword [esp + 4]
jmp 0x43eafa
push 0x5a1de0
call fcn.00527357
add esp, 4
cmp dword [0x5a1de0], 0xffffffff
jne 0x43ec74
mov dword [0x5a1dd4], 0
mov dword [0x5a1dd0], 0
mov dword [0x5a1ddc], 0
mov dword [0x5a1dd8], 0
push 0x5a1de0
call fcn.005273cd
add esp, 4
jmp 0x43ec74
push 0x5a1de0
call fcn.00527357
add esp, 4
cmp dword [0x5a1de0], 0xffffffff
jne 0x43eca6
mov dword [0x5a1dd4], 0
mov dword [0x5a1dd0], 0
mov dword [0x5a1ddc], 0
mov dword [0x5a1dd8], 0
push 0x5a1de0
call fcn.005273cd
add esp, 4
jmp 0x43eca6
int3
int3