Function at 0x43e030
Capabilities:
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4feaeb
mov eax, dword fs:[0]
push eax
sub esp, 0x700
mov eax, dword [0x52e144]
xor eax, esp
mov dword [esp + 0x6fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52e144]
xor eax, esp
push eax
lea eax, [esp + 0x714]
mov dword fs:[0], eax
mov eax, dword [esp + 0x728]
mov dword [esp + 0x18], eax
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [0x548d20]
xor esi, esi
mov dword [esp + 0x20], ebx
cmp eax, ebx
jne 0x43e0a8
xor eax, eax
jmp 0x43e2de
cmp dword [0x548d34], ebx
je 0x43e0a1
cmp dword [0x548d38], ebx
je 0x43e0a1
mov ecx, dword [esp + 0x724]
cmp ecx, ebx
jbe 0x43e0a1
push ecx
push 4
call eax
mov edi, eax
mov dword [esp + 0x1c], edi
cmp edi, 0xffffffff
je 0x43e0a1
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x28], 0x1c
call dword [0x548d34]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x43e2d9
mov edx, dword [esp + 0x724]
cmp dword [esp + 0x2c], edx
jne 0x43e2c1
mov eax, dword [esp + 0x28]
mov ecx, dword [0x53c038]
push eax
call fcn.00408fe0
mov edi, eax
cmp edi, ebx
je 0x43e2c1
mov ecx, dword [esp + 0x724]
cmp ecx, dword [0x53789c]
jne 0x43e147
cmp edi, dword [0x548d4c]
jne 0x43e147
cmp byte [0x548d68], bl
jne 0x43e147
push edi
call ebp
jmp 0x43e2c1
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, eax
cmp esi, ebx
je 0x43e2b9
push 0x104
lea edx, [esp + 0x60d]
push ebx
push edx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x614], bl
call fcn.004b6dc0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
push esi
push eax
push ecx
push 0x5198f4
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
mov eax, dword [0x538600]
add esp, 0x18
cmp eax, ebx
je 0x43e2b9
push ebx
push 4
lea edx, [esp + 0x1c]
push edx
push 9
push edi
call eax
test eax, eax
jne 0x43e2b9
lea ecx, [esp + 0x3c]
call fcn.00409050
mov eax, dword [esp + 0x18]
mov dword [esp + 0x71c], ebx
cmp eax, ebx
je 0x43e1f9
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x608]
push ecx
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.00408d80
jmp 0x43e229
mov eax, dword [esp + 0x724]
push eax
call fcn.0043d1a0
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x608]
push ecx
mov esi, eax
push edx
push esi
lea ecx, [esp + 0x48]
call fcn.00408d80
push esi
call ebp
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x608]
push eax
push ecx
push 0x5198e0
call fcn.00404690
add esp, 4
push eax
push 0x527e20
call fcn.00401350
push 0x5198c8
call fcn.00404690
push eax
lea edx, [esp + 0x620]
push edx
call fcn.00404270
add esp, 0x1c
test eax, eax
je 0x43e2a5
cmp dword [0x537cfc], ebx
jne 0x43e2a5
push 0x5198b4
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
push 1
push 7
push 0x630
push 0x8b1
call fcn.00417130
add esp, 0x1c
call fcn.00418810
lea ecx, [esp + 0x3c]
mov dword [esp + 0x71c], 0xffffffff
call fcn.004085c0
push edi
call ebp
mov esi, 1
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push edi
call dword [0x548d38]
test eax, eax
jne 0x43e0f5
push edi
call ebp
mov eax, esi
mov ecx, dword [esp + 0x714]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6fc]
xor ecx, esp
call fcn.004b6da3
add esp, 0x70c
ret