Function at 0x10311df
Capabilities:
Create thread

Disassembly:
push 0x5c
mov eax, 0x1045de8
call fcn.010383ac
mov esi, ecx
lea ecx, [ebp - 0x2c]
call fcn.0100a369
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x48]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.01032526
lea ecx, [esi + 0xc]
push eax
mov byte [ebp - 4], 1
call fcn.010228f2
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0100a063
cmp dword [ebp + 8], ebx
je 0x1031245
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_ApplicationRecoveryInProgress]
lea eax, [ebp - 0x4c]
push eax
push ebx
push esi
push 0x103112e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi]
push ebx
lea eax, [esi + 0xc]
push eax
call fcn.01031927
mov ecx, dword [esi]
call fcn.0103157b
push 0x10037b8
lea ecx, [ebp - 0x48]
call fcn.0100a764
mov ecx, dword [esi + 4]
push edi
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.01034569
push ebx
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0100a063
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push 0x1003820
lea ecx, [ebp - 0x48]
test eax, eax
je 0x10312a3
call fcn.0100a764
mov byte [ebp - 4], 3
push edi
jmp 0x10312ad
call fcn.0100a764
mov byte [ebp - 4], 4
push ebx
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x48]
push eax
call fcn.01034569
push ebx
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0100a063
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x18]
push 0x100380c
lea ecx, [ebp - 0x48]
test eax, eax
je 0x10312e6
call fcn.0100a764
mov byte [ebp - 4], 5
push edi
jmp 0x10312f0
call fcn.0100a764
mov byte [ebp - 4], 6
push ebx
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x48]
push eax
call fcn.01034569
push ebx
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0100a063
push 0x10037e8
lea ecx, [ebp - 0x48]
call fcn.0100a764
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 7
call dword [eax + 0x20]
mov ecx, dword [esi + 4]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 8
call fcn.01034546
push ebx
push edi
lea ecx, [ebp - 0x68]
call fcn.0100a063
push ebx
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0100a063
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x68]
push eax
call fcn.010323ca
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.0100a4df
push ebx
push edi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.0100a063
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x18], ebx
ja 0x10313a9
push 0x10037b8
call fcn.0100a764
mov ecx, dword [esi + 4]
push ebx
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xa
call fcn.01034569
push ebx
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0100a063
jmp 0x10313ec
push 0x10037c4
call fcn.0100a764
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xb
call fcn.01034546
push ebx
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0100a063
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
je 0x10313ec
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x2c]
push edx
call dword [eax + 0xc]
mov ecx, dword [esi + 4]
call fcn.01034169
cmp dword [ebp + 8], ebx
je 0x1031408
xor eax, eax
cmp dword [esi + 0x30], ebx
sete al
push eax
call dword [sym.imp.KERNEL32.dll_ApplicationRecoveryFinished]
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.0100a063
xor eax, eax
call fcn.0103843e
ret 4