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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x710b0b
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x61]
test al, al
je 0x5e9791
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x5c]
push eax
call fcn.006c7267
mov al, byte [0x85a788]
mov edi, dword [0x84752c]
xor ebp, ebp
test al, 1
mov dword [esp + 0xec], ebp
jne 0x5e9235
mov dl, al
mov eax, 1
mov dword [0x847560], eax
mov dword [0x847564], eax
mov eax, 2
or dl, 1
mov dword [0x847568], eax
mov dword [0x84756c], eax
mov eax, 4
push fcn.00555d40
mov dword [0x847570], eax
mov dword [0x847574], eax
mov eax, 8
mov byte [0x85a788], dl
mov dword [0x847578], eax
mov dword [0x84757c], eax
call fcn.006601e7
add esp, 4
mov ecx, dword [edi*8 + 0x847564]
mov eax, dword [edi*8 + 0x847560]
mov ebx, dword [esp + 0xf4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x64]
mov dword [esp + 0x10], eax
mov edx, dword [ebx]
lea edi, [ecx + eax]
cmp edx, edi
jge 0x5e96ee
add edx, eax
cmp ecx, edx
jge 0x5e96ee
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
lea edi, [eax + edx]
cmp ecx, edi
jge 0x5e96ee
add ecx, edx
cmp eax, ecx
jge 0x5e96ee
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x5c]
push edx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
call fcn.006c6ed5
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], vtable.CPen.0
push 6
mov byte [esp + 0xf0], 1
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0xc0], eax
call fcn.006c6b4d
mov dword [esp + 0xc0], eax
lea edx, [esp + 0x5c]
push 7
lea ecx, [esp + 0x60]
mov byte [esp + 0xf0], 2
mov dword [esp + 0xb8], edx
call fcn.006c6bf0
mov dword [esp + 0xb8], eax
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x64]
push eax
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov byte [esp + 0xf8], 3
call fcn.00405bf0
mov ecx, dword [esi + 0x3c]
lea eax, [esp + 0x94]
push eax
call fcn.005dc9f0
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax]
mov edi, dword [esp + 0x30]
sub ecx, edx
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebx + 4]
sub ecx, 0x20
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx]
sub edi, edx
push eax
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov dword [esp + 0x3c], edi
call fcn.00405bf0
mov ecx, dword [esi + 0x3c]
lea eax, [esp + 0x94]
push eax
call fcn.005dc9f0
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
mov edi, dword [esp + 0x24]
sub ecx, edx
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
sub edi, edx
sub ecx, 0x20
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x3c]
call fcn.005dc9d0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
xor edx, edx
cmp eax, ebp
mov dword [esp + 0x1c], edx
jle 0x5e969e
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebp
cmp eax, ebp
jle 0x5e968d
mov ebp, edx
mov edi, edx
shl ebp, 5
shl edi, 6
mov dword [esp + 0x28], edi
jmp 0x5e942e
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
add eax, dword [esp + 0x18]
add ecx, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push eax
call fcn.00405ad0
test al, al
je 0x5e9558
mov eax, dword [ebx]
mov ecx, dword [esp + 0x54]
cmp ecx, eax
jl 0x5e9484
mov edx, dword [esp + 0x10]
add eax, edx
cmp ecx, eax
jge 0x5e9484
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jl 0x5e9484
mov edx, dword [esp + 0x14]
add eax, edx
cmp ecx, eax
jl 0x5e9558
mov eax, ebp
sub esp, 0xc
cdq
sub eax, edx
mov ebx, esp
mov ecx, eax
mov eax, edi
mov edi, dword [esp + 0x38]
cdq
sub eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 1
add eax, edi
mov dword [esp + 0xa8], edi
sar ecx, 1
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x60]
add edx, ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0x64]
mov edi, dword [ecx]
mov dword [ebx], eax
mov eax, dword [esp + 0x84]
mov dword [ebx + 4], edx
lea edx, [esp + 0xe0]
push edx
mov dword [ebx + 8], eax
call dword [edi + 0x40]
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
xor eax, eax
mov ax, word [ecx]
mov ebx, dword [esp + 0xd4]
xor ecx, ecx
mov cx, word [edx]
xor edx, edx
mov dx, word [edi]
xor edi, edi
mov di, word [ebx]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], ecx
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x84]
push eax
mov dword [esp + 0xcc], edx
push ecx
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x64]
mov dword [esp + 0xcc], edi
call fcn.005e4fb0
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0xf4]
mov eax, dword [ebx]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebx + 4]
add eax, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
add ecx, edx
lea edx, [esp + 0x70]
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x2c]
push edx
call fcn.00405ad0
test al, al
je 0x5e9668
mov eax, dword [esi + 0x64]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
cmp ecx, eax
jl 0x5e95b4
mov edx, dword [esp + 0x10]
add eax, edx
cmp ecx, eax
jge 0x5e95b4
mov eax, dword [esi + 0x68]
cmp ebx, eax
jl 0x5e95b4
mov ecx, dword [esp + 0x14]
add eax, ecx
cmp ebx, eax
jl 0x5e9661
mov eax, ebp
sub esp, 0xc
cdq
sub eax, edx
mov ecx, eax
mov eax, edi
mov edi, dword [esp + 0x2c]
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar ecx, 1
sar eax, 1
add edx, ecx
mov ecx, dword [esi + 0x2c]
add eax, edi
mov dword [esp + 0xa4], edx
mov edx, ebx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x7c]
mov ebx, esp
mov dword [esp + 0xa8], edi
mov edi, dword [ecx]
mov dword [ebx], eax
lea eax, [esp + 0x50]
push eax
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x88]
mov dword [ebx + 8], edx
call dword [edi + 0x40]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
xor eax, eax
mov ax, word [ecx]
mov ebx, dword [esp + 0x44]
xor ecx, ecx
mov cx, word [edx]
xor edx, edx
mov dx, word [edi]
xor edi, edi
mov di, word [ebx]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x34]
lea ecx, [esp + 0x84]
push eax
mov dword [esp + 0x3c], edx
push ecx
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x64]
mov dword [esp + 0x3c], edi
call fcn.005e4fb0
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0xf4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc eax
add ebp, 0x20
sub edi, 0x40
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edi
jl 0x5e942a
mov edx, dword [esp + 0x1c]
xor ebp, ebp
mov eax, dword [esp + 0x14]
inc edx
cmp edx, eax
mov dword [esp + 0x1c], edx
jl 0x5e940a
mov edx, dword [esp + 0xb8]
lea ecx, [esp + 0x5c]
push edx
mov byte [esp + 0xf0], 2
call fcn.006c6bf0
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x5c]
push eax
mov byte [esp + 0xf0], 1
call fcn.006c6b4d
mov dword [esp + 0x7c], vtable.CGdiObject.0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xec], 4
call fcn.006c7566
jmp 0x5e977b
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x60]
call dword [edx + 0x50]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x5c]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x58], eax
call fcn.005e8660
mov eax, dword [ebx]
lea edx, [esp + 0x34]
mov dword [esi + 0x64], eax
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x68], ecx
push edx
lea ecx, [esp + 0x60]
call dword [eax + 0x50]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x44]
lea eax, [esp + 0x5c]
mov dword [esp + 0x50], ecx
push edx
push eax
mov ecx, esi
call fcn.005e8660
lea ecx, [esp + 0x5c]
mov dword [esp + 0xec], 0xffffffff
call fcn.006c72d9
jmp 0x5e9798
mov ebx, dword [esp + 0xf4]
mov ecx, dword [ebx]
pop edi
mov dword [esi + 0x64], ecx
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0xe0]
mov dword [esi + 0x68], edx
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe0
ret 4