Function at 0x1000b860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4a0
mov eax, dword [0x10011098]
push ebp
mov ebp, ecx
mov dword [esp + 0x4a0], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1000b897
mov eax, 0x40000
pop ebp
mov ecx, dword [esp + 0x49c]
call fcn.1000c09f
add esp, 0x4a0
ret 0x10
mov al, byte [ebp + 0x2c]
test al, al
je 0x1000b8b9
mov eax, 0x50000
pop ebp
mov ecx, dword [esp + 0x49c]
call fcn.1000c09f
add esp, 0x4a0
ret 0x10
cmp dword [ebp], 0
push esi
mov esi, dword [esp + 0x4b8]
mov dword [esp + 0x10], 0
je 0x1000b8dc
cmp esi, 4
je 0x1000b8dc
mov dword [esp + 0x10], 0xc
mov eax, dword [esp + 0x4ac]
lea edx, [esp + 0x3a0]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1000b8f0
mov al, byte [esp + 0x3a0]
test al, al
jne 0x1000b921
pop esi
mov eax, 0x10000
pop ebp
mov ecx, dword [esp + 0x49c]
call fcn.1000c09f
add esp, 0x4a0
ret 0x10
lea eax, [esp + 0x3a0]
cmp byte [eax], 0x5c
jne 0x1000b930
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1000b928
cmp esi, 4
sete al
test al, al
push ebx
mov byte [esp + 0xf], al
je 0x1000b968
lea eax, [esp + 0x3a4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000b951
sub eax, edx
cmp byte [esp + eax + 0x3a3], 0x2f
je 0x1000b968
mov bl, 1
jmp 0x1000b96a
xor bl, bl
mov al, byte [esp + 0xf]
test al, al
push edi
mov edi, 8
mov dword [esp + 0x14], edi
jne 0x1000b990
lea eax, [esp + 0x3a8]
push eax
call fcn.100095f0
add esp, 4
test al, al
je 0x1000b996
xor edi, edi
mov dword [esp + 0x14], edi
cmp esi, 2
jne 0x1000b9ac
mov ecx, dword [esp + 0x4b8]
push ecx
mov ecx, ebp
call fcn.1000aa10
jmp 0x1000b9f8
cmp esi, 1
jne 0x1000b9ca
mov edx, dword [esp + 0x4bc]
mov eax, dword [esp + 0x4b8]
push edx
push eax
mov ecx, ebp
call fcn.10009c70
jmp 0x1000b9f8
cmp esi, 3
jne 0x1000b9e8
mov ecx, dword [esp + 0x4bc]
mov edx, dword [esp + 0x4b8]
push ecx
push edx
mov ecx, ebp
call fcn.10009dc0
jmp 0x1000b9f8
cmp esi, 4
jne 0x1000bf2a
mov ecx, ebp
call fcn.10009eb0
xor esi, esi
cmp eax, esi
jne 0x1000bf2f
mov dword [esp + 0x3a4], esi
mov byte [esp + 0x80], 0
xor eax, eax
jmp 0x1000ba20
mov cl, byte [esp + eax + 0x3a8]
mov byte [esp + eax + 0x190], cl
inc eax
test cl, cl
jne 0x1000ba20
lea eax, [esp + 0x190]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000ba40
sub eax, edx
test bl, bl
mov dword [esp + 0x60], eax
je 0x1000ba80
lea edi, [esp + 0x190]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000ba60
mov ax, word [0x1000f37c]
mov word [edi], ax
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x14]
inc eax
mov dword [esp + 0x60], eax
xor esi, esi
mov ecx, dword [ebp + 0x68]
mov dword [esp + 0x50], ecx
cmp dword [ebp], esi
mov ax, 8
mov byte [esp + 0x294], 0
mov dword [esp + 0x18c], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x398], 1
mov dword [esp + 0x3a0], esi
mov word [esp + 0x72], si
mov word [esp + 0x48], 0xb17
mov word [esp + 0x4a], 0x14
mov dword [esp + 0x54], esi
mov word [esp + 0x4c], ax
je 0x1000bae2
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x1000bae2
mov ax, 9
mov word [esp + 0x4c], ax
cmp edi, esi
mov word [esp + 0x74], ax
mov word [esp + 0x4e], di
jne 0x1000bb03
mov eax, dword [ebp + 0x70]
cmp eax, esi
jl 0x1000bb03
mov edx, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x58], eax
jmp 0x1000bb07
mov dword [esp + 0x58], esi
mov eax, dword [ebp + 0x70]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x4c]
mov esi, dword [ebp + 0x58]
mov edi, dword [ebp + 0x5c]
mov dword [esp + 0x5c], eax
add edx, dword [ebp + 0x18]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dl, byte [ebp + 0x58]
lea ecx, [esp + 0x30]
lea eax, [esp + 0x1c]
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], ecx
mov byte [esp + 0x21], dl
mov eax, esi
mov edx, edi
mov cl, 8
mov word [esp + 0x70], 0
mov dword [esp + 0x64], 0x11
mov dword [esp + 0x68], 9
mov byte [esp + 0x1c], 0x55
mov byte [esp + 0x1d], 0x54
mov byte [esp + 0x1e], 0xd
mov byte [esp + 0x1f], 0
mov byte [esp + 0x20], 7
call fcn.1000c1b0
mov byte [esp + 0x22], al
mov eax, esi
mov edx, edi
mov cl, 0x10
call fcn.1000c1b0
mov byte [esp + 0x23], al
mov eax, esi
mov edx, edi
mov cl, 0x18
call fcn.1000c1b0
mov esi, dword [ebp + 0x50]
mov edi, dword [ebp + 0x54]
mov bl, al
mov al, byte [ebp + 0x50]
mov byte [esp + 0x25], al
mov eax, esi
mov edx, edi
mov cl, 8
mov byte [esp + 0x24], bl
call fcn.1000c1b0
mov byte [esp + 0x26], al
mov eax, esi
mov edx, edi
mov cl, 0x10
call fcn.1000c1b0
mov byte [esp + 0x27], al
mov eax, esi
mov edx, edi
mov cl, 0x18
call fcn.1000c1b0
mov cl, byte [ebp + 0x60]
mov esi, dword [ebp + 0x60]
mov edi, dword [ebp + 0x64]
mov byte [esp + 0x28], al
mov byte [esp + 0x29], cl
mov eax, esi
mov edx, edi
mov cl, 8
call fcn.1000c1b0
mov byte [esp + 0x2a], al
mov eax, esi
mov edx, edi
mov cl, 0x10
call fcn.1000c1b0
mov byte [esp + 0x2b], al
mov eax, esi
mov edx, edi
mov cl, 0x18
call fcn.1000c1b0
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], edx
push ebp
lea ecx, [esp + 0x4c]
push 0x1000a9f0
push ecx
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], bl
mov byte [esp + 0x3e], 5
call fcn.10008b00
add esp, 0xc
test eax, eax
je 0x1000bc56
mov ecx, ebp
call fcn.1000a050
mov eax, 0x400
jmp 0x1000bf2f
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
lea ecx, [eax + edx + 0x1e]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
add edx, ecx
test eax, eax
mov dword [ebp + 0x18], edx
je 0x1000bc80
mov ecx, ebp
call fcn.1000a050
mov eax, dword [ebp + 0x14]
jmp 0x1000bf2f
mov esi, dword [ebp]
test esi, esi
lea edi, [ebp + 0x30]
mov dword [edi], 0x12345678
mov dword [ebp + 0x34], 0x23456789
mov dword [ebp + 0x38], 0x34567890
je 0x1000bcb5
mov edi, edi
xor eax, eax
mov al, byte [esi]
test al, al
je 0x1000bcb5
push eax
push edi
call fcn.10009510
add esp, 8
inc esi
jne 0x1000bca0
mov al, byte [0x100110a4]
test al, al
jne 0x1000bcd8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
push esi
call dword [sym.imp.MSVCR71.dll_srand]
add esp, 4
mov ebx, dword [sym.imp.MSVCR71.dll_rand]
xor esi, esi
call ebx
sar eax, 7
mov byte [esp + esi + 0x3c], al
inc esi
cmp esi, 0xc
jl 0x1000bce0
mov edx, dword [esp + 0x50]
shr edx, 8
mov byte [esp + 0x47], dl
xor esi, esi
lea esp, [esp]
xor eax, eax
mov al, byte [esp + esi + 0x3c]
push eax
push edi
call fcn.10009570
add esp, 8
mov byte [esp + esi + 0x3c], al
inc esi
cmp esi, 0xc
jl 0x1000bd00
cmp dword [ebp], 0
mov bl, byte [esp + 0x13]
je 0x1000bd3a
test bl, bl
jne 0x1000bd3a
push 0xc
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.10009af0
add dword [ebp + 0x18], 0xc
mov eax, dword [ebp]
xor esi, esi
cmp eax, esi
je 0x1000bd4e
test bl, bl
jne 0x1000bd4e
mov eax, 1
jmp 0x1000bd50
xor eax, eax
test bl, bl
mov edi, dword [esp + 0x14]
mov byte [ebp + 0x2d], al
jne 0x1000bd7f
cmp edi, 8
jne 0x1000bd70
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
call fcn.1000b750
mov esi, eax
jmp 0x1000bd85
cmp edi, esi
jne 0x1000bd85
mov ecx, ebp
call fcn.1000a0b0
mov esi, eax
jmp 0x1000bd85
mov dword [ebp + 0x90], esi
mov al, byte [ebp + 0x80]
test al, al
mov byte [ebp + 0x2d], 0
je 0x1000bda1
mov eax, dword [ebp + 0x7c]
test eax, eax
je 0x1000bda1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x90]
mov ecx, dword [ebp + 0x74]
add eax, edx
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [ebp + 0x7c], 0
mov dword [ebp + 0x70], ecx
jne 0x1000bf2f
test esi, esi
jne 0x1000bc4c
mov eax, dword [esp + 0x18]
mov esi, dword [ebp + 0x78]
add eax, edx
cmp dword [esp + 0x58], eax
mov dword [esp + 0x58], eax
mov al, byte [ebp + 0x1c]
sete dl
test al, al
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], ecx
je 0x1000be5e
cmp dword [ebp], 0
je 0x1000bdfc
test bl, bl
je 0x1000be5e
test byte [esp + 0x4c], 1
mov word [esp + 0x4e], di
jne 0x1000be0d
and byte [esp + 0x4c], 0xf7
mov cx, word [esp + 0x4c]
mov edx, dword [esp + 0x7c]
sub edx, dword [ebp + 0x10]
mov word [esp + 0x74], cx
push edx
mov ecx, ebp
call fcn.10009c00
test al, al
je 0x1000be54
push ebp
lea eax, [esp + 0x4c]
push 0x1000a9f0
push eax
call fcn.10008b00
add esp, 0xc
test eax, eax
jne 0x1000bc4c
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, ebp
call fcn.10009c00
test al, al
jne 0x1000bea0
mov eax, 0x2000000
jmp 0x1000bf2f
cmp word [esp + 0x4e], di
je 0x1000be6f
mov eax, 0x4000000
jmp 0x1000bf2f
test edi, edi
jne 0x1000be77
test dl, dl
je 0x1000be65
push ebp
lea edx, [esp + 0x4c]
push 0x1000a9f0
push edx
call fcn.10008d60
add esp, 0xc
test eax, eax
jne 0x1000bc4c
add dword [ebp + 0x18], 0x10
mov ax, word [esp + 0x74]
mov word [esp + 0x4c], ax
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x1000bf2f
mov ecx, dword [esp + 0x68]
push ecx
call fcn.1000bfe4
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x18c]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x360
mov dword [esp + 0x190], eax
call fcn.1000bfe4
mov ecx, 0xd8
lea esi, [esp + 0x50]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x44]
add esp, 8
test ecx, ecx
jne 0x1000beff
mov dword [ebp + 0x44], eax
xor eax, eax
jmp 0x1000bf2f
mov edx, dword [ecx + 0x35c]
test edx, edx
je 0x1000bf20
lea esp, [esp]
mov ecx, dword [ecx + 0x35c]
mov edx, dword [ecx + 0x35c]
test edx, edx
jne 0x1000bf10
mov dword [ecx + 0x35c], eax
xor eax, eax
jmp 0x1000bf2f
mov eax, 0x10000
mov ecx, dword [esp + 0x4ac]
pop edi
pop ebx
pop esi
pop ebp
call fcn.1000c09f
add esp, 0x4a0
ret 0x10