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

Disassembly:
sub esp, 0xbc
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x3c]
push edi
mov ecx, dword [esi + 4]
xor ebx, ebx
push eax
push ebx
push ebx
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov ebp, dword [sym.imp.GDI32.dll_SetViewportOrgEx]
lea edx, [esp + 0x30]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
push edx
push ebx
push ebx
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call ebp
xor ecx, ecx
mov edi, dword [sym.imp.GDI32.dll_GetWorldTransform]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
lea edx, [esp + 0x6c]
mov dword [esp + 0x7c], ecx
push edx
push eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x88], ecx
call edi
mov edx, dword [esi + 4]
lea ecx, [esp + 0x9c]
push ecx
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0xa4], 0x3f800000
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], 0x3f800000
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
call dword [sym.imp.GDI32.dll_SetWorldTransform]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x48]
push eax
push ebx
push ebx
push ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
lea edx, [esp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 8]
push edx
push ebx
push ebx
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call ebp
xor ecx, ecx
lea edx, [esp + 0x84]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x90], ecx
push edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov eax, dword [esi + 8]
push eax
call edi
mov edx, dword [esi + 8]
lea ecx, [esp + 0xb4]
push ecx
push edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0xbc], 0x3f800000
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], 0x3f800000
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
call dword [sym.imp.GDI32.dll_SetWorldTransform]
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 3
push eax
call edi
mov ecx, dword [esi + 8]
push 3
push ecx
call edi
mov eax, dword [esi + 0x24]
xor edx, edx
mov dword [esp + 0x14], edx
cmp eax, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebx
jle 0x3b515ec2
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edi, dword [esi + 0x20]
inc eax
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], eax
add ecx, edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.3b515b60
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x58], edi
je 0x3b515e7d
mov eax, dword [esi + 4]
push 0xff
lea edx, [esp + 0x14]
push 3
push edx
push eax
push ebx
call fcn.3b51f340
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
add esp, 0x14
inc edx
mov ebp, dword [esi + 8]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
sub ecx, edi
sub eax, edx
push 0x660046
push eax
push ecx
push edx
push edi
push ebp
push eax
push ecx
mov ecx, dword [esi + 4]
push edx
push edi
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov ebp, dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov edi, dword [esp + 0x58]
jmp 0x3b515e96
mov eax, dword [esi + 4]
push 0xff0000
lea edx, [esp + 0x14]
push 3
push edx
push eax
push ebx
call fcn.3b51f340
add esp, 0x14
mov edx, dword [esi + 0x34]
lea ecx, [esi + 0x30]
push edi
push edx
call fcn.3b539830
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x24]
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
jl 0x3b515dcb
cmp dword [esp + 0x5c], ebx
je 0x3b515ed7
mov ecx, dword [esi + 4]
lea eax, [esp + 0x6c]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetWorldTransform]
cmp dword [esp + 0x68], ebx
je 0x3b515eee
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 4]
push ebx
push edx
push eax
push ecx
call ebp
cmp dword [esp + 0x64], ebx
je 0x3b515f09
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 4]
push ebx
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
cmp dword [esp + 0x54], ebx
je 0x3b515f21
mov eax, dword [esi + 8]
lea edx, [esp + 0x84]
push edx
push eax
call dword [sym.imp.GDI32.dll_SetWorldTransform]
cmp dword [esp + 0x50], ebx
je 0x3b515f38
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
push ebx
push ecx
push edx
push eax
call ebp
cmp dword [esp + 0x60], ebx
je 0x3b515f53
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov eax, dword [esi + 8]
push ebx
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 4]
push ecx
push edx
push eax
push str.CTWMXorHelper::XorDraw_____hdcDraw:__08x___loop:__d__d_
push str.XorHelper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret