Function at 0x100457b0
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 [0x100ea080]
xor eax, ebp
mov dword [esp + 0x448], eax
mov dword [ecx], 0x100d0ed0
lea edi, [ecx + 8]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 4]
test byte [ecx + edx + 0x18], 5
mov dword [esp + 0x18], ecx
je 0x100457ff
movdqa xmm0, xmmword [0x100cdde0]
movdqu xmmword [esp + 0x40], xmm0
mov dword [esp + 8], 0xffffffff
jmp 0x1004582a
mov ecx, dword [edi + edx + 0x18]
mov eax, dword [ecx]
sub esp, 0x14
movdqa xmm0, xmmword [0x100ce570]
movdqu xmmword [esp + 4], xmm0
lea edx, [esp + 0x54]
mov dword [esp], edx
call dword [eax + 0xc]
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
lea esi, [esp + 0x40]
push esi
call fcn.10026bf8
mov ecx, esi
push 0x100eb168
call fcn.10038528
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x1c]
mov ebx, eax
mov ecx, esi
call fcn.10029590
movsx eax, bl
mov ecx, edi
push eax
call fcn.100274e0
mov dword [esp + 0xc], edi
mov ecx, edi
call fcn.10026af0
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
mov esi, dword [esp + 0x18]
lea ecx, [esi + 0xc]
lea edi, [esp + 0x24]
mov dword [esp + 0x1c], ecx
push edi
call fcn.10023534
test byte [0x100e95e8], 0x19
jne 0x10045bb2
mov eax, dword [0x100eb844]
test eax, eax
je 0x100458e7
lea ecx, [esp + 0x24]
push ecx
push dword [esi + 0x90]
push dword [esi + 0x98]
push dword [esi + 0x94]
push dword [esi + 4]
call eax
add esp, 0x14
test al, al
je 0x100458e7
cmp byte [esp + 0x2f], 0
mov edi, dword [esp + 0xc]
jns 0x10045b4f
jmp 0x10045b43
mov eax, dword [0x100e9240]
test al, 2
mov edi, dword [esp + 0xc]
je 0x10045911
cmp byte [esp + 0x2f], 0
jns 0x10045901
mov eax, dword [esp + 0x24]
jmp 0x10045905
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x100e9240]
test al, 4
jne 0x10045920
cmp eax, 1
ja 0x10045964
cmp dword [esi + 4], 2
jl 0x10045964
push 2
call fcn.100ab544
add esp, 4
movzx ecx, byte [esp + 0x2f]
test cl, cl
cmovs ecx, dword [esp + 0x28]
lea edx, [esp + 0x24]
cmovs edx, dword [esp + 0x24]
push eax
push 1
push ecx
push edx
call fcn.100b9d3d
add esp, 0x10
push 2
call fcn.100ab544
add esp, 4
push eax
call fcn.100b98eb
add esp, 4
mov eax, dword [0x100e9240]
test al, 1
je 0x100459a3
call fcn.10045090
test al, al
je 0x100459a3
mov dword [esp + 0x40], 0xffffffff
movzx eax, byte [esp + 0x2f]
test al, al
cmovs eax, dword [esp + 0x28]
lea ecx, [esp + 0x24]
cmovs ecx, dword [esp + 0x24]
push 0
lea edx, [esp + 0x44]
push edx
push eax
push ecx
push dword [0x100eb850]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esi + 4], 3
jne 0x100459d9
mov edi, esi
mov ecx, dword [0x100eb820]
lea ebx, [esp + 0x24]
test ecx, ecx
je 0x100459e2
movzx eax, byte [esp + 0x2f]
mov edx, ebx
test al, al
lea esi, [esp + 0x40]
jns 0x100459d0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
push eax
push edx
call fcn.10042c50
jmp 0x100459e6
lea ebx, [esp + 0x24]
jmp 0x10045b3d
lea esi, [esp + 0x40]
push 0x400
push 0xff
push esi
call fcn.100aa900
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x10045a05
mov eax, dword [esp + 0x24]
jmp 0x10045a09
lea eax, [esp + 0x24]
push 0x400
push eax
push esi
call fcn.1005cdf0
add esp, 0xc
push esi
call fcn.1000d620
add esp, 4
mov eax, dword [0x100eb864]
mov ecx, dword [0x100ed790]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10045ccd
mov eax, dword [0x100eb85c]
cmp eax, dword [0x100eb860]
je 0x10045d3d
mov esi, edi
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [0x100eb864]
mov ecx, dword [0x100ed790]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x10045d05
mov eax, dword [0x100eb860]
test eax, eax
mov ecx, dword [0x100eb858]
cmove eax, ecx
add eax, 0xffffffff
cmp ecx, eax
jb 0x10045d40
shl eax, 2
add eax, dword [0x100eb854]
lea ecx, [esp + 0x20]
push eax
call fcn.1003f8e0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10045b30
mov dword [esp + 4], ebx
cmp byte [ebx + 0xb], 0
mov dword [esp + 0x14], eax
jns 0x10045ac8
mov ebx, dword [esp + 0x24]
jmp 0x10045acc
lea ebx, [esp + 0x24]
mov eax, dword [esp + 8]
add eax, ebx
test ebx, ebx
mov dword [esp + 0x10], eax
je 0x10045ae5
push eax
call fcn.100bb360
add esp, 4
jmp 0x10045ae7
xor eax, eax
mov ecx, dword [esi + 0x90]
mov edi, dword [esp + 8]
sub edi, ecx
add ebx, ecx
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x98]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x30], edi
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 + 0x24]
push eax
call dword [eax + 4]
add esp, 0x14
mov ebx, dword [esp + 4]
lea ecx, [esp + 0x20]
call fcn.1003f8c0
mov edi, dword [esp + 0xc]
cmp byte [ebx + 0xb], 0
jns 0x10045b4f
push dword [esp + 0x24]
call fcn.100a6614
add esp, 4
lea ecx, [esi + 0xa0]
call fcn.10063680
lea ebx, [esi + 0x40]
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [esi + eax + 8], 0x100cdcec
mov dword [esi + 0xc], 0x100cdcf0
cmp byte [esi + 0x37], 0
jns 0x10045b83
push dword [edi + 0x24]
call fcn.100a6614
add esp, 4
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.10026764
mov ecx, esi
call fcn.1000d620
mov ecx, ebx
call fcn.1002675a
mov ecx, dword [esp + 0x448]
xor ecx, ebp
call fcn.100a6651
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [esp + 0x2f]
mov ebx, eax
test al, al
jns 0x10045bc1
mov ebx, dword [esp + 0x28]
mov ecx, dword [esi + 0x90]
sub ebx, ecx
jb 0x10045d43
test al, al
jns 0x10045bd7
mov edi, dword [esp + 0x24]
add edi, ecx
push 0x18
call fcn.100a6594
add esp, 4
mov dword [esp + 4], eax
mov ecx, eax
push dword [esi + 0x98]
push ebx
push edi
push dword [esi + 0x94]
call fcn.100636e0
call fcn.1004ac90
mov ebx, eax
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
lea edi, [esp + 0x38]
push edi
call fcn.1004c120
add esp, 4
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov word [esp + 0x40], 0x801
mov dword [esp + 0x44], str.message
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
sub esp, 0x30
lea eax, [esp + 0x70]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0x8008
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.LogMessage
mov dword [esp + 4], 0x100e95e8
mov dword [esp], 0x49
call fcn.10052280
add esp, 0x30
mov al, byte [esp + 0x40]
test al, al
je 0x100458a7
xor edi, edi
jmp 0x10045cb1
add edi, 1
movzx ecx, al
cmp edi, ecx
jae 0x100458a7
cmp byte [esp + edi + 0x41], 8
jne 0x10045ca3
mov ecx, dword [esp + edi*8 + 0x50]
test ecx, ecx
je 0x10045ca3
mov eax, dword [ecx]
push 1
call dword [eax]
movzx eax, byte [esp + 0x40]
jmp 0x10045ca3
push 0x100eb864
call fcn.100a6697
add esp, 4
cmp dword [0x100eb864], 0xffffffff
jne 0x10045a42
pxor xmm0, xmm0
movdqu xmmword [0x100eb854], xmm0
push 0x100eb864
call fcn.100a670d
add esp, 4
jmp 0x10045a42
push 0x100eb864
call fcn.100a6697
add esp, 4
cmp dword [0x100eb864], 0xffffffff
jne 0x10045a7e
pxor xmm0, xmm0
movdqu xmmword [0x100eb854], xmm0
push 0x100eb864
call fcn.100a670d
add esp, 4
jmp 0x10045a7e
int3
int3
int3