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

Disassembly:
push 0xffffffffffffffff
push 0x1003f838
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10071350]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.10008d50
mov esi, dword [esp + 0x70]
movzx eax, al
push eax
push esi
call fcn.100091c0
mov ebp, eax
mov dword [esp + 0x70], ebp
test esi, esi
jl 0x1000b5c5
cmp esi, dword [ebx + 0xdc]
jge 0x1000b5c5
mov ecx, dword [ebx + 0xd8]
mov eax, dword [ecx + esi*4]
mov ecx, dword [esp + 0x84]
test ecx, ecx
jl 0x1000b5c5
cmp ecx, dword [eax + 0x1c]
jge 0x1000b5c5
mov edx, dword [eax + 0x18]
mov edi, dword [edx + ecx*4]
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call fcn.1001ed45
mov esi, dword [esp + 0x6c]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x5c]
push eax
mov ecx, esi
call edx
push 1
mov ecx, esi
mov dword [esp + 0x70], eax
call fcn.1001e510
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.10008d50
test al, al
je 0x1000b476
test ebp, ebp
je 0x1000b531
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x3c]
push edx
push eax
push ecx
call fcn.1001dd7e
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.10009460
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
sub ebp, dword [esp + 0x1c]
add eax, 2
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
sub eax, ecx
mov ecx, dword [esp + 0x78]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
mov edx, dword [edx + 4]
sar eax, 1
push 0
add eax, ecx
mov ecx, dword [edi + 4]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esi + 4]
push eax
push ecx
push edx
call fcn.1001dd7e
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.100092f0
cmp byte [esp + 0x88], 0
jne 0x1000b531
mov edx, dword [ebx + 0x78]
add edx, ebp
add dword [esp + 0x74], edx
mov eax, dword [edi + 8]
push eax
lea ecx, [esp + 0x8c]
call fcn.10004500
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push ecx
mov ecx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x80]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x74], 0
call edx
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
mov dword [esp + 0x64], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b531
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1000b531
test ebp, ebp
je 0x1000b531
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x3c]
push edx
push eax
push ecx
call fcn.1001dd7e
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.10009460
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
sub eax, ecx
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x28]
sub ebp, dword [esp + 0x20]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x70]
mov edx, dword [edx + 4]
push 0
sar eax, 1
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x7c]
add eax, ecx
mov ecx, dword [edi + 4]
push edx
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esp + 0x80]
push ecx
push eax
call fcn.1001dd7e
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.100092f0
cmp byte [esp + 0x88], 0
jne 0x1000b531
mov edx, dword [ebx + 0x7c]
add edx, ebp
add dword [esp + 0x78], edx
mov ecx, dword [edi + 8]
mov ebp, dword [esi]
push 0x11
lea eax, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [edi + 8]
push eax
mov eax, dword [ebp + 0x68]
push edx
mov ecx, esi
call eax
test dword [ebx + 0xd0], 0x200
je 0x1000b587
mov eax, dword [ebx + 0xc4]
cmp eax, dword [esp + 0x84]
jne 0x1000b587
test eax, eax
jl 0x1000b587
mov edx, dword [ebx + 0x104]
lea ecx, [esp + 0x2c]
push ecx
push eax
push edx
mov ecx, ebx
call fcn.10009aa0
push 1
push 1
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0x70]
push ecx
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.100202e2
mov edx, dword [esi]
mov eax, dword [esp + 0x6c]
mov edx, dword [edx + 0x30]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.1001e510
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x20
call fcn.1001e393
int3