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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006118e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov byte [esp + 0x2c], dl
push ebx
push esi
push edi
test cl, cl
je 0x1003fbca
cmp byte [ebp + 0x18], 0
je 0x1003fb9e
mov byte [esp + 0x1b], 0
cmp byte [esp + 0x1b], 0
je 0x1004016c
push 1
push ecx
call fcn.1003fa06
pop ecx
pop ecx
jmp 0x1004016c
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x1004016c
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xb8c3
inc dword [edx]
cmp dword [edx], 2
jl 0x1003fbb3
jmp 0x1004016c
test dl, dl
je 0x1003fbfb
push 0xb75
xor ebx, ebx
push ebx
push ebx
push 0x51a
push 0x1d18
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
jmp 0x1004016c
push 0
pop ebx
mov dword [esp + 0x30], 0x3548
cmp dword [esp + 0x30], 0x3597
push 1
pop edi
jle 0x1003fcc6
mov dword [esp + 0x2c], ebx
mov eax, ebx
mov dword [esp + 0x34], 0x47b6
mov dword [esp + 0x14], eax
mov edi, ebx
mov dword [esp + 0x3c], ebx
mov ecx, edi
mov dword [esp + 0x20], eax
mov edi, eax
mov esi, ebx
sar edi, cl
mov ecx, esi
mov eax, edi
sar eax, cl
lea ecx, [esp + 0xc0]
cdq
push edx
push eax
call fcn.10002394
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003fc5a
mov eax, dword [eax]
push eax
call fcn.10047752
pop ecx
push ebx
push 1
lea ecx, [esp + 0xc8]
call fcn.10005baf
inc esi
cmp esi, 0x1630
jl 0x1003fc3b
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
inc edi
mov dword [esp + 0x3c], edi
cmp edi, 0x4b5
jl 0x1003fc2f
mov esi, dword [esp + 0x2c]
add eax, esi
dec dword [esp + 0x34]
mov dword [esp + 0x14], eax
jne 0x1003fc29
inc esi
mov dword [esp + 0x2c], esi
cmp esi, 0x14b0
jl 0x1003fc1b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
xor edi, edi
inc edi
cmp dword [esp + 0x30], 0x31ae
jge 0x1003fcdb
push str.ltcg_mszibnam_lduhm_jqtzjov_nbnedaoyt
call fcn.10047752
pop ecx
xor eax, eax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], ax
push 0x6b40
push 0x2d67
push ecx
lea eax, [esp + 0x6c]
mov dword [esp + 0xf0], 2
push eax
push edi
lea ecx, [ebp + 8]
call fcn.1003f9c0
mov eax, dword [0x100809fc]
add esp, 0x14
test al, 1
jne 0x1003fd46
or eax, edi
mov dword [0x100809fc], eax
push 0x47a8
mov byte [esp + 0xe8], 3
call fcn.10016d29
pop ecx
mov word [0x1007f65c], ax
mov byte [esp + 0xe4], 2
push 3
lea ecx, [esp + 0xa0]
call fcn.100017ce
push 2
lea ecx, [esp + 0x88]
mov byte [esp + 0xe8], 4
call fcn.100017ce
lea eax, [esp + 0x44]
mov byte [esp + 0xe4], 5
push eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x5c], 0xa77c8748
push eax
push ecx
push 0x34ad
push ebx
mov ecx, 0x329b
call fcn.1003f9c0
add esp, 0x10
lea edx, [esp + 0x48]
lea ecx, [esp + 0x88]
call fcn.1003fb32
push ecx
push ecx
lea eax, [esp + 0x25]
mov byte [esp + 0x25], bl
push eax
xor dl, dl
call fcn.1003f543
add esp, 0x10
lea eax, [esp + 0x9c]
lea edx, [esp + 0x84]
push eax
push 0x20b
push ebx
push ecx
lea ecx, [esp + 0x68]
call fcn.1003fa24
add esp, 0x10
lea ecx, [esp + 0x84]
call fcn.10001830
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe4], 2
call fcn.10001830
mov eax, dword [0x100809fc]
test al, 2
jne 0x1003fe34
or eax, 2
mov dword [0x100809fc], eax
push 0x4b54
mov byte [esp + 0xe8], 6
call fcn.10016d29
pop ecx
mov word [0x100809f8], ax
mov byte [esp + 0xe4], 2
mov dword [esp + 0x40], 0xca4f833f
lea ecx, [esp + 0x78]
push 3
call fcn.100017ce
lea eax, [esp + 0xbc]
mov byte [esp + 0xe4], 7
push eax
lea ecx, [esp + 0x7c]
call fcn.1003fae1
pop ecx
push ebx
push 0x2ad4
push 0x5804
push ebx
push 0x6fba
push 0x3529
push 0x2fcc
push edi
lea eax, [esp + 0x60]
mov edx, 0x2121
push eax
lea eax, [esp + 0x9c]
mov ecx, 0x7d27
push 0x3e2e
push eax
call fcn.1003f6a8
add esp, 0x24
mov byte [esp + 0x20], bl
lea eax, [esp + 0x20]
mov edx, 0x738c
push edi
push eax
call fcn.1003f48c
add esp, 0x10
mov byte [esp + 0xe4], 2
lea ecx, [esp + 0x78]
call fcn.10001830
mov esi, dword [ebp + 8]
test esi, esi
je 0x10040037
mov dword [esp + 0x1c], 0xfffffff7
lea ecx, [esp + 0xa8]
push 2
call fcn.100017ce
lea eax, [esp + 0xb8]
mov byte [esp + 0xe4], 8
push eax
push 0x5557
mov dword [esp + 0x58], 0xbf90350d
lea edx, [esp + 0xb0]
push 0x753b
call fcn.10040301
add esp, 0xc
mov byte [esp + 0x1a], bl
lea edx, [esp + 0x1a]
push edi
push ecx
push 0x51cf
sub esp, 0x10
mov ecx, 0x59b3
call fcn.1003f952
add esp, 0x1c
mov dword [esp + 0x1c], ebx
jmp 0x1003ffdd
mov dword [esp + 0x48], edi
lea ecx, [esp + 0x90]
mov dword [esp + 0x4c], 0xffffffff
push 4
call fcn.100017ce
push ecx
lea eax, [esp + 0xb8]
mov byte [esp + 0xe8], 9
push eax
sub esp, 0xc
mov dword [esp + 0x70], ebx
lea edx, [esp + 0xa4]
call fcn.10040d63
add esp, 0x14
lea eax, [esp + 0x1c]
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x4c]
push edi
push eax
lea eax, [esp + 0x64]
push eax
push edi
lea eax, [esp + 0x60]
push eax
push 0x30c6
lea eax, [esp + 0xa8]
push eax
push ebx
push 0x2628
lea eax, [esp + 0x6c]
push eax
push 0x630a
call fcn.1003f6a8
add esp, 0x2c
mov byte [esp + 0xe4], 8
lea ecx, [esp + 0x90]
call fcn.10001830
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0xfffffffe
jl 0x1003ff43
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe4], 2
call fcn.10001830
call fcn.1003f466
push 0x34
pop ecx
xor edx, edx
div ecx
push 0x601c
push ecx
push 0x1007f65c
push 0x100809f8
lea eax, [esp + 0x64]
mov dword [esp + 0x64], edx
push eax
push ecx
lea edx, [esp + 0x78]
xor cl, cl
call fcn.1003f5a2
add esp, 0x18
dec esi
jne 0x1003fed4
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x20], 0xfffffff8
mov dword [esp + 0x14], ebx
jmp 0x1004005d
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x24], 0xfff6
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x1004004d
push ecx
push ecx
push ebx
push 0x5f02
lea edx, [esp + 0x20]
call fcn.1003f48c
add esp, 0x10
mov dword [esp + 0x10], ebx
jmp 0x10040143
mov dword [esp + 0x14], 0xfffffffc
mov dword [esp + 0x30], 0x267e
mov dword [esp + 0x34], 0xae215169
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x24]
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x24], ecx
mov dword [esp + 0x14], ebx
jmp 0x10040135
mov dword [esp + 0x20], 0x8716
mov dword [esp + 0x2c], 0x5db2b058
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x24], ebx
jne 0x1004013f
mov eax, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + eax*4 + 0x24]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x24]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x24]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x24]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x24]
mov eax, dword [esp + 0x30]
imul ecx, eax
mov eax, dword [esp + 0x2c]
cmp ecx, eax
mov eax, dword [esp + 0x10]
setl dl
xor ecx, ecx
cmp edx, eax
setg cl
cmp ecx, dword [esp + 0x34]
je 0x1004012b
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x24], ebx
mov eax, edi
jne 0x1004012d
mov eax, ebx
mov dword [esp + 0x20], eax
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jle 0x100400b2
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jle 0x10040081
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x60]
cmp ecx, eax
je 0x10040161
push 0xffffffffffffffff
push ebx
push eax
call fcn.1000689c
push ebx
push edi
lea ecx, [esp + 0x68]
call fcn.10005c7b
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret