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

Disassembly:
add byte [ebx], ah
add byte [eax], al
add byte [ebx - 0x7c74f7b3], cl
mov ah, 0
add byte [eax], al
test eax, eax
je 0x100363ab
mov edx, dword [ebx + 0xb8]
sub edx, eax
sar edx, 2
jne 0x100363cf
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov ecx, dword [esp + 0xd8]
cmp dword [ebx + 0xa0], 0
je 0x10036409
cmp dword [ebx + 0xa4], 0
je 0x10036409
mov eax, dword [ebx + 0xa0]
mov edx, dword [ebx + 0xa4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
lea eax, [ebx + 0x6c]
push 1
push eax
call dword [sym.imp.USER32.dll_MonitorFromRect]
lea esi, [esp + 0x50]
mov ecx, eax
call 0x100739b2
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
mov esi, ecx
sub esi, dword [esp + 0x54]
mov edi, eax
sar edi, 2
cmp dword [ebx + 0x28], 0
jne 0x100364a5
mov eax, dword [esp + 0x54]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x6c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x100364a5
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jg 0x10036488
mov esi, dword [esp + 0x5c]
sub esi, ecx
jmp 0x100364a5
mov eax, dword [ebx + 0x70]
cmp eax, edx
jle 0x10036495
sub eax, dword [esp + 0x54]
jmp 0x100364a3
mov esi, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
sub esi, ecx
cmp esi, eax
jg 0x100364a5
mov esi, eax
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
lea eax, [ecx + edx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x6c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x100364f7
mov ecx, dword [ebx + 0x74]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jg 0x100364da
mov edi, dword [esp + 0x58]
sub edi, ecx
jmp 0x100364f7
mov eax, dword [ebx + 0x6c]
cmp eax, edx
jle 0x100364e7
sub eax, dword [esp + 0x50]
jmp 0x100364f5
mov edi, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
sub edi, ecx
cmp edi, eax
jg 0x100364f7
mov edi, eax
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
push 0x10
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x10036555
push 0x1006ee68
lea ecx, [esp + 0x80]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x7c]
add eax, edx
mov edx, dword [esp + 0x84]
add edx, ecx
sub esi, eax
sub edi, edx
cmp dword [0x1006edd4], 0
je 0x100365a6
push 0x10
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x100365a6
push 0x1006edfc
lea ecx, [esp + 0x90]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
lea edx, [eax + ecx]
add eax, ecx
sub esi, edx
sub edi, eax
mov eax, esi
cdq
idiv dword [0x1006ee38]
mov ecx, dword [ebx + 0xb4]
test ecx, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], eax
jne 0x100365dc
xor edx, edx
jmp 0x100365e7
mov edx, dword [ebx + 0xb8]
sub edx, ecx
sar edx, 2
cmp eax, edx
jl 0x1003661d
mov esi, dword [ebp + 8]
push esi
push ebx
call 0x1006ba75
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], ecx
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
xor esi, esi
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
call 0x1006d601
mov dword [esp + 0xe0], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], esi
mov byte [esp + 0x13], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], esi
lea ecx, [ecx]
mov ecx, dword [ebx + 0xb4]
cmp ecx, esi
jne 0x1003665e
xor eax, eax
jmp 0x10036669
mov eax, dword [ebx + 0xb8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x18], eax
jge 0x10036935
xor eax, eax
xor ecx, ecx
cmp dword [esp + 0x44], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov byte [esp + 0x13], cl
mov dword [esp + 0x3c], eax
jle 0x10036778
mov eax, dword [esp + 0x18]
lea ecx, [eax*4]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0xb4]
test ecx, ecx
jne 0x100366b2
xor eax, eax
jmp 0x100366bd
mov eax, dword [ebx + 0xb8]
sub eax, ecx
sar eax, 2
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
add ecx, edx
cmp ecx, eax
jge 0x10036774
mov edx, dword [ebx + 0xb4]
test edx, edx
je 0x100366e8
mov eax, dword [ebx + 0xb8]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x100366ee
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx + 0xb4]
mov eax, dword [esp + 0x24]
mov edi, dword [eax + edx]
xor esi, esi
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
call 0x100720fb
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x38]
jle 0x1003673a
mov edx, dword [esp + 0x44]
add edx, 0xffffffff
cmp dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
je 0x1003673a
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x2c]
jle 0x10036748
mov dword [esp + 0x2c], eax
cmp dword [edi + 0x34], esi
je 0x10036752
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x78]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
add dword [esp + 0x24], 4
add eax, 1
cmp eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
jl 0x100366a4
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 8]
cmp ecx, dword [eax + 4]
jle 0x10036783
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov edi, dword [0x1006ee40]
mov eax, dword [ebx + 0x80]
lea esi, [ecx + edx]
add esi, edi
add esi, dword [0x1006ee3c]
test eax, eax
mov dword [esp + 0x24], esi
jle 0x100367bd
cmp edx, eax
jle 0x100367bd
lea esi, [eax + ecx]
add esi, edi
add esi, dword [0x1006ee3c]
mov dword [esp + 0x24], esi
mov eax, dword [ebx + 0x84]
test eax, eax
jle 0x100367d1
cmp esi, eax
jge 0x100367d1
mov esi, eax
mov dword [esp + 0x24], esi
cmp byte [esp + 0x13], 0
je 0x1003682e
cmp dword [0x1006eecc], 0
jg 0x10036824
cmp dword [0x1006ee2c], 0
je 0x1003681a
mov edi, dword [0x1006ee2c]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], 0
call 0x1008267c
test eax, eax
je 0x1003680d
mov dword [edi + 8], eax
mov eax, dword [esp + 0x20]
shr eax, 1
mov dword [0x1006eecc], eax
jmp 0x10036824
mov dword [0x1006eecc], 0x12
add esi, dword [0x1006eecc]
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x14]
mov edi, esi
add esi, eax
cmp esi, dword [esp + 0x28]
jle 0x10036847
cmp dword [esp + 0x18], 0
jne 0x10036935
mov edx, dword [esp + 0x44]
cmp dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], ecx
jne 0x10036922
mov ecx, dword [ebx + 0xb4]
test ecx, ecx
jne 0x1003686b
xor eax, eax
jmp 0x10036876
mov eax, dword [ebx + 0xb8]
sub eax, ecx
sar eax, 2
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
add ecx, edx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jge 0x10036922
push 0x460
call 0x1008280a
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
mov byte [esp + 0xe0], 1
test esi, esi
je 0x100368b6
mov eax, ebx
call 0x10072112
mov esi, eax
jmp 0x100368b8
xor esi, esi
mov byte [esp + 0xe0], 0
test esi, esi
je 0x10036922
or dword [esi + 0x18], 4
xor eax, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x4c]
mov edi, esi
call 0x100722d3
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov dword [esi + 0x24], ecx
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
lea eax, [esp + 0x68]
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edx
call 0x1006d95d
mov dword [eax], esi
add edi, 3
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x18], ecx
add dword [esp + 0x14], edi
xor esi, esi
jmp 0x1006c385
mov ecx, dword [ebx + 0xb4]
test ecx, ecx
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
mov dword [eax], edx
jne 0x1003694c
xor eax, eax
jmp 0x10036957
mov eax, dword [ebx + 0xb8]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x18], eax
jge 0x10036e7d
push 0x138
call 0x100828df
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0xe0], 2
test eax, eax
je 0x10036988
push eax
call 0x100679c4
mov edi, eax
jmp 0x1003698a
invalid
xor edi, edi
mov byte [esp + 0xe0], 0
mov ecx, dword [esp + 0x6c]
mov edi, dword [ecx]
lea esi, [esp + 0x68]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], 0
jmp 0x10036ea0
test esi, esi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x4c], edx
je 0x10036eb4
lea eax, [esp + 0x68]
cmp esi, eax
je 0x10036eba
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x4c]
je 0x10036f0e
test esi, esi
jne 0x10036eca
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 4]
jne 0x10036ed5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [edi + 0xc]
mov ecx, dword [esp + 0x30]
add esi, dword [esp + 0x14]
cmp edi, dword [ecx + 4]
jne 0x10036eeb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [edi + 0x10]
push edx
push esi
push ebx
call 0x1006bd76
add dword [esp + 0x14], 1
lea esi, [esp + 0x30]
call 0x1006ed24
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
jmp 0x10036ea0
mov eax, dword [esp + 0x14]
add dword [ebx + 0x68], eax
push 0xb48b8b
add byte [eax], al