Function at 0x43de40
Capabilities:
Terminate process

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], 1
lea edi, [esi + 0x9c]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00444eb0
test al, al
mov ecx, edi
je 0x43de76
call fcn.00444ec0
inc eax
mov dword [esp + 0x14], eax
jmp 0x43de7d
call fcn.00444ee0
mov ebp, eax
mov al, byte [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
test al, al
jne 0x43df5c
jmp 0x43de94
mov edi, dword [esp + 0x10]
test ebp, ebp
jle 0x43df5c
cmp ebp, 0x14
mov edi, 0x14
jg 0x43dea8
mov edi, ebp
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esi + 8]
sub ebp, edi
test al, al
jne 0x43df58
push 1
push 0
push 0
lea eax, [esp + 0x24]
push 0
push eax
call ebx
mov eax, dword [esp + 0x1c]
cmp eax, 0x100
ja 0x43def7
je 0x43df13
mov ecx, eax
sub ecx, 2
je 0x43dee9
sub ecx, 0xe
je 0x43dee9
sub ecx, 2
jne 0x43df20
push 1
mov byte [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 0x205
ja 0x43df19
cmp eax, 0x204
jae 0x43df13
cmp eax, 0x201
jb 0x43df20
cmp eax, 0x202
ja 0x43df20
mov byte [esi + 8], 1
jmp 0x43df4d
cmp eax, 0x3b9
je 0x43df38
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
jmp 0x43df4d
push 0
push 1
lea ecx, [esi + 0x14]
call fcn.004c3700
push eax
call fcn.004d3360
add esp, 0xc
mov al, byte [esi + 8]
test al, al
je 0x43de90
mov edi, dword [esp + 0x10]
mov al, byte [esi + 8]
test al, al
jne 0x43e089
push 1
push 0
push 0
lea ecx, [esp + 0x24]
push 0
push ecx
call ebx
mov eax, dword [esp + 0x1c]
cmp eax, 0x100
ja 0x43dfa2
je 0x43dfbe
mov ecx, eax
sub ecx, 2
je 0x43df94
sub ecx, 0xe
je 0x43df94
sub ecx, 2
jne 0x43dfcb
push 1
mov byte [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 0x205
ja 0x43dfc4
cmp eax, 0x204
jae 0x43dfbe
cmp eax, 0x201
jb 0x43dfcb
cmp eax, 0x202
ja 0x43dfcb
mov byte [esi + 8], 1
jmp 0x43dff8
cmp eax, 0x3b9
je 0x43dfe3
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_DefWindowProcA]
jmp 0x43dff8
push 0
push 1
lea ecx, [esi + 0x14]
call fcn.004c3700
push eax
call fcn.004d3360
add esp, 0xc
mov al, byte [esi + 8]
test al, al
jne 0x43e089
mov ecx, edi
call fcn.00444e70
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x43e06f
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
xor eax, eax
cmp ecx, edx
jge 0x43e02f
mov ebx, dword [esi + 0xc]
lea edx, [ecx + ecx*8]
lea edx, [ebx + edx*4]
test edx, edx
je 0x43e02f
mov eax, dword [edx + 0x1c]
mov edx, dword [esi + 4]
lea ebx, [eax + 0x1e0]
inc edx
cmp edx, ebx
mov dword [esi + 4], edx
jl 0x43e068
inc ecx
mov dword [esi], ecx
mov edx, dword [esi + 0x10]
cmp ecx, edx
jge 0x43e064
mov edx, dword [esi + 0xc]
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
test ecx, ecx
je 0x43e064
sub eax, dword [ecx + 0x1c]
add eax, 0x1e0
mov dword [esi + 4], eax
jmp 0x43e068
mov byte [esi + 8], 1
dec edi
jne 0x43e014
mov edi, dword [esp + 0x10]
mov ecx, esi
call fcn.0043e0a0
call fcn.004d7e50
mov ecx, edi
call fcn.00444e80
mov ecx, edi
call fcn.00444e90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret