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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x25c
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
je 0x3b50f3b0
mov esi, dword [esp + 0x27c]
cmp esi, ebx
je 0x3b50f3b0
mov eax, dword [0x3b599620]
lea ecx, [esp + 0x30]
push ecx
push esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.3b50e450
mov ebp, eax
add esp, 8
cmp ebp, ebx
mov dword [esp + 0x6c], ebp
jle 0x3b50f3b0
mov eax, dword [esp + 0x284]
mov dword [esp + 0xbc], ebx
and eax, 1
cmp eax, 1
mov dword [esp + 0x54], eax
jne 0x3b50e6c5
mov dword [esp + 0xbc], eax
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x16c]
rep stosd dword es:[edi], eax
lea edi, [esi + 0x88]
xor esi, esi
dec ebp
mov dword [esp + 0x168], 0xffffffff
cmp ebp, ebx
mov dword [esp + 0xf0], edi
jle 0x3b50e7ac
lea ebx, [esp + 0x16c]
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x28]
mov ax, word [edx]
cmp ax, 0x30
jb 0x3b50e720
cmp ax, 0x39
ja 0x3b50e720
and eax, 0xffff
lea ecx, [eax - 0x30]
jmp 0x3b50e74a
cmp ax, 0x61
jb 0x3b50e736
cmp ax, 0x66
ja 0x3b50e736
and eax, 0xffff
lea ecx, [eax - 0x57]
jmp 0x3b50e74a
cmp ax, 0x41
jb 0x3b50e787
cmp ax, 0x46
ja 0x3b50e787
and eax, 0xffff
lea ecx, [eax - 0x37]
push edi
push ecx
push eax
push esi
push str.CTWMLatticeHelper::Draw_____z___d___nNo:__c_____x____s_
push str.LatticeHelper
push 0xffffffffffffffff
push 0x3b5995b4
mov dword [ebx], ecx
call fcn.3b5446b0
mov edx, dword [esp + 0x48]
add esp, 0x20
inc esi
add edx, 2
add ebx, 4
cmp esi, ebp
mov dword [esp + 0x28], edx
jl 0x3b50e703
mov esi, dword [esp + 0x270]
xor ebx, ebx
jmp 0x3b50e7b3
push edi
push str.CTWMLatticeHelper::Draw__________s_
push str.LatticeHelper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret
mov esi, dword [esp + 0x270]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
push esi
mov dword [esp + 0xe4], eax
call dword [sym.imp.GDI32.dll_GetMapMode]
cmp eax, 1
mov dword [esp + 0xe4], eax
je 0x3b50e7dd
push 1
push esi
call dword [sym.imp.GDI32.dll_SetMapMode]
mov eax, dword [esp + 0x284]
push eax
push edi
push str.CTWMLatticeHelper::Draw_________code:__s___flag:__08x_
push str.LatticeHelper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
mov eax, dword [esp + 0x298]
xor ecx, ecx
mov dword [esp + 0x78], ecx
add esp, 0x18
mov dword [esp + 0x64], ecx
cmp eax, ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ecx
je 0x3b50e839
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
jmp 0x3b50e849
push ebx
lea ecx, [esp + 0x60]
push ebx
push ecx
push esi
call fcn.3b51ef60
add esp, 0x10
push esi
call fcn.3b51e960
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x27c]
fstp qword [esp + 0x84]
add esp, 4
cmp eax, ebx
je 0x3b50e8d1
fld dword [esi + 0x28]
sub esp, 8
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
fstp qword [esp]
fld dword [esi + 0x24]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x20]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x1c]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x18]
push edx
push eax
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x14]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0xc]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x10]
sub esp, 8
fstp qword [esp]
push str.CTWMLatticeHelper::Draw__Policy___Ori___size:__f__diam:__f__margin:__f__blockmargin:__f__color:__08x__ransparency:__d___PageMargin:_d__d__d__d_
push str.LatticeHelper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
add esp, 0x58
mov edx, dword [esi + 0x2c]
xor ecx, ecx
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xcc], ecx
lea eax, [esp + 0x88]
mov dword [esp + 0xd0], ecx
push edx
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0x60]
push eax
push ecx
push edi
lea edx, [esp + 0x48]
push ebx
lea eax, [esi + 0x10]
xor ebp, ebp
push edx
push eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebp
call fcn.3b51ee90
mov ecx, dword [esi + 0x2c]
lea edx, [esp + 0xa4]
push ecx
lea eax, [esp + 0x7c]
push edx
push eax
push edi
lea ecx, [esp + 0x7c]
push ebx
lea edx, [esi + 0xc]
push ecx
push edx
call fcn.3b51ee90
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0xc0]
push eax
lea edx, [esp + 0x98]
push ecx
push edx
push edi
lea eax, [esp + 0x74]
push ebx
lea ecx, [esi + 0x14]
push eax
push ecx
call fcn.3b51ee90
mov edx, dword [esi + 0x2c]
add esp, 0x54
lea eax, [esp + 0x88]
lea ecx, [esp + 0x5c]
push edx
push eax
push ecx
push edi
lea edx, [esp + 0x5c]
push ebx
lea eax, [esi + 0x18]
push edx
push eax
call fcn.3b51ee90
mov ecx, dword [esi + 0x2c]
lea edx, [esp + 0xa4]
push ecx
lea eax, [esp + 0x7c]
push edx
push eax
push edi
lea ecx, [esp + 0xf4]
push ebx
lea edx, [esi + 0x1c]
push ecx
push edx
call fcn.3b51ead0
add esp, 0x38
mov eax, dword [esp + 0x284]
mov ebx, dword [esi + 4]
and eax, 0x20
mov esi, dword [esi + 8]
xor ecx, ecx
cmp al, 0x20
sete cl
mov eax, ecx
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x3b50ea41
mov eax, dword [esp + 0x274]
cmp eax, ebp
je 0x3b50ea41
cmp ebx, 0xffffffff
jne 0x3b50ea48
lea edx, [esp + 0x5c]
push edx
push eax
call fcn.3b51f570
lea ecx, [esp + 0x2c]
mov edi, eax
push ecx
push esi
push 1
push edi
mov dword [esp + 0x3c], ebp
call fcn.3b51fc10
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x288]
mov ebx, eax
push ebp
push esi
push ebx
push edx
lea eax, [esp + 0x84]
push edi
push eax
push ecx
call fcn.3b520150
add esp, 0x34
cmp ebx, 0xffffffff
jne 0x3b50ea48
xor ebx, ebx
cmp dword [esp + 0x40], ebp
je 0x3b50ea9d
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xcc]
push edx
mov edx, dword [esp + 0xcc]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x60]
push esi
push ebx
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
push str.CTWMLatticeHelper::Draw__Policy___To____size:__d__diam:__d__margin:__d__blockmargin:__d__color:__08x__ransparency:__d___PageMargin:_d__d__d__d_
push str.LatticeHelper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
add esp, 0x38
mov edi, dword [esp + 0x38]
cmp edi, ebp
jne 0x3b50eaae
mov edi, 0x10
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x50]
mov eax, edi
shr eax, 1
cmp ecx, ebp
mov dword [esp + 0xb8], eax
mov dword [esp + 0x3c], 2
jbe 0x3b50ead5
shr ecx, 1
cmp ecx, eax
jae 0x3b50ead5
mov dword [esp + 0x3c], ecx
jmp 0x3b50eadd
mov dword [esp + 0x50], 4
mov ecx, dword [esp + 0x1c]
mov ax, bx
shr ax, 8
mov word [esp + 0x58], ax
mov byte [esp + 0x1b], al
mov eax, ebx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ebp
mov byte [esp + 0x24], bl
fild qword [esp + 0x80]
shr eax, 0x10
cmp ecx, ebp
mov dword [esp + 0x44], eax
jne 0x3b50eb33
cmp dword [esp + 0x274], ebp
je 0x3b50eb33
cmp dword [esp + 0x54], 1
je 0x3b50eb33
cmp dword [0x3b5992a0], ebp
je 0x3b50ebb3
fmul dword [0x3b577668]
and ebx, 0xff
mov ecx, 0xff
sub ecx, ebx
fsubr dword [0x3b577664]
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fmul st(1)
fsubr dword [0x3b577660]
call fcn.3b546600
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x58]
and eax, 0xff
mov edx, 0xff
sub edx, eax
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fmul st(1)
fsubr dword [0x3b577660]
call fcn.3b546600
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x44]
and eax, 0xff
mov ecx, 0xff
sub ecx, eax
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fmul st(1)
fsubr dword [0x3b577660]
call fcn.3b546600
xor edx, edx
mov ecx, dword [esp + 0x2c]
mov dh, al
mov eax, dword [esp + 0x24]
mov dl, byte [esp + 0x1b]
and eax, 0xff
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], edx
xor edx, edx
mov dword [esp + 0x74], edx
lea ebx, [ecx + edi]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x12c], eax
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x274]
lea eax, [esp + 0x124]
push edx
push eax
push ecx
mov dword [esp + 0x2c], ebx
fstp st(0)
mov dword [esp + 0x80], 0
call fcn.3b51ef60
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
sub edi, ebp
mov ebp, dword [esp + 0x8c]
mov ecx, ebx
imul ecx, dword [esp + 0x40]
sub ebp, esi
mov esi, ebx
imul esi, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
sub ecx, eax
sub esi, eax
add ecx, edx
add esi, edx
mov eax, edi
xor edx, edx
div ecx
mov eax, edi
add esp, 0x10
mov dword [esp + 0x10], edx
xor edx, edx
div ecx
mov ecx, eax
mov eax, dword [esp + 0x10]
imul ecx, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x48], ecx
jle 0x3b50ece6
xor edx, edx
div ebx
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
div ebx
mov eax, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x48], ecx
test edx, edx
mov dword [esp + 0x20], edx
jle 0x3b50ece6
mov edx, dword [esp + 0x30]
inc ecx
dec edx
mov dword [esp + 0x48], ecx
cmp eax, edx
jne 0x3b50ece6
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
cmp edx, eax
jle 0x3b50ece6
inc ecx
mov dword [esp + 0x48], ecx
mov eax, ebp
xor edx, edx
div esi
mov eax, ebp
mov dword [esp + 0x10], edx
xor edx, edx
div esi
mov esi, eax
mov eax, dword [esp + 0x10]
imul esi, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x28], esi
jle 0x3b50ed4a
xor edx, edx
div ebx
xor edx, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
div ebx
mov eax, dword [esp + 0x14]
add esi, eax
mov dword [esp + 0x28], esi
test edx, edx
mov dword [esp + 0x20], edx
jle 0x3b50ed4a
mov edx, dword [esp + 0x34]
inc esi
dec edx
mov dword [esp + 0x28], esi
cmp eax, edx
jne 0x3b50ed4a
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
cmp eax, edx
jle 0x3b50ed4a
inc esi
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x40]
test eax, eax
je 0x3b50ed95
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0xc8]
push esi
push ecx
mov ecx, dword [esp + 0x6c]
push ebp
push edi
push ecx
push edx
push eax
push str.CTWMLatticeHelper::Draw__Param___Magnification:__d__Radius:__d__colorAlpha:__08x__PageBlockWidth:__d__PageBlockHeight:__d___m:__d__n:__d___PageWaterMask:_d__d__d__d_
push str.LatticeHelper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
add esp, 0x3c
mov edi, dword [esp + 0x270]
lea ecx, [esp + 0xd8]
xor ebp, ebp
push ecx
push ebp
push ebp
push edi
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], ebp
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
lea edx, [esp + 0xc0]
mov dword [esp + 0x80], eax
push edx
push ebp
push ebp
push edi
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], ebp
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov dword [esp + 0xe8], eax
xor eax, eax
mov dword [esp + 0x10c], eax
lea ecx, [esp + 0x108]
mov dword [esp + 0x110], eax
push ecx
mov dword [esp + 0x118], eax
push edi
mov dword [esp + 0x120], eax
mov dword [esp + 0x110], ebp
mov dword [esp + 0x124], eax
call dword [sym.imp.GDI32.dll_GetWorldTransform]
lea edx, [esp + 0x130]
mov dword [esp + 0xec], eax
push edx
push edi
mov dword [esp + 0x138], 0x3f800000
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x140], ebp
mov dword [esp + 0x144], 0x3f800000
mov dword [esp + 0x148], ebp
mov dword [esp + 0x14c], ebp
call dword [sym.imp.GDI32.dll_SetWorldTransform]
lea eax, [esp + 0xb0]
lea ecx, [esp + 0xa4]
push eax
lea edx, [esp + 0xb0]
push ecx
lea eax, [esp + 0xbc]
push edx
lea ecx, [esp + 0xac]
push eax
lea edx, [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x84]
push edx
push eax
push ecx
push edi
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xd4], ebp
call fcn.3b50f3c0
add esp, 0x24
test eax, eax
jne 0x3b50ef01
push str.CTWMLatticeHelper::Draw____________DrawCircleBefore_Failed_
push str.LatticeHelper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
add esp, 0x10
mov esi, edi
jmp 0x3b50f30f
xor edx, edx
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x14c]
mov dword [esp + 0x148], ebp
mov dword [esp + 0x94], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x98], edx
xor ecx, ecx
cmp esi, ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x9c], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x10], ecx
jle 0x3b50f209
mov dword [esp + 0x24], ecx
test ecx, ecx
jle 0x3b50ef77
mov eax, ecx
cdq
idiv dword [esp + 0x34]
test edx, edx
jne 0x3b50ef77
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
sub eax, edi
add edx, eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x48]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x58], ebp
jle 0x3b50f1f2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
add ecx, edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0xf4], ecx
test ebp, ebp
jle 0x3b50efc1
mov eax, ebp
cdq
idiv dword [esp + 0x30]
test edx, edx
jne 0x3b50efc1
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
sub eax, edx
add ecx, eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x70]
add ecx, edx
mov edx, dword [esp + 0xf4]
add ecx, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x90], ecx
lea esi, [ecx + ebx]
lea edi, [edx + eax]
mov eax, ebp
cdq
idiv dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x94], edi
dec eax
mov dword [esp + 0x98], esi
cmp edx, eax
jne 0x3b50f012
sub esi, dword [esp + 0x2c]
mov dword [esp + 0x98], esi
mov eax, dword [esp + 0x10]
add ebx, edi
cdq
idiv dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x9c], ebx
dec eax
cmp edx, eax
jne 0x3b50f038
sub ebx, dword [esp + 0x2c]
mov dword [esp + 0x9c], ebx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x3b50f063
push ebx
push esi
push edi
push ecx
mov ecx, dword [esp + 0x20]
push ebp
push ecx
push str.CTWMLatticeHelper::Draw__Loop___j___d___i___d___rectBlock:__d__d__d__d_
push str.LatticeHelper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
add esp, 0x28
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x148]
xor ebx, ebx
rep stosd dword es:[edi], eax
lea edi, [esp + 0x148]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
cdq
idiv dword [esp + 0x34]
mov eax, ebp
mov esi, edx
cdq
imul esi, ecx
idiv ecx
add esi, edx
js 0x3b50f0aa
cmp esi, dword [esp + 0x6c]
jge 0x3b50f0aa
mov eax, dword [esp + esi*4 + 0x168]
mov dword [esp + 0x20], eax
jmp 0x3b50f0ae
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x3b50f0e8
mov edx, dword [esp + esi*4 + 0x168]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push edx
push eax
push esi
push ebx
push ebp
push ecx
push str.CTWMLatticeHelper::Draw__Loop___j___d___i___d___k___d___y___d___x___d___no___d_
push str.LatticeHelper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
mov eax, dword [esp + 0x48]
add esp, 0x28
cmp eax, 0xffffffff
jne 0x3b50f104
mov edx, dword [esp + 0xbc]
lea eax, [ebx + edx*4]
mov eax, dword [eax*4 + 0x3b577770]
mov dword [esp + 0x14], eax
jmp 0x3b50f121
test eax, eax
jl 0x3b50f11d
cmp eax, 0x10
jge 0x3b50f11d
lea ecx, [ebx + eax*4]
mov eax, dword [ecx*4 + 0x3b577670]
mov dword [esp + 0x14], eax
jmp 0x3b50f121
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x3b50f1c0
xor edx, edx
mov ecx, 3
div ecx
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0x90]
imul edx, ecx
add edx, eax
mov eax, 0xaaaaaaab
mov dword [edi], edx
mul dword [esp + 0x14]
shr edx, 1
imul edx, ecx
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x40]
add eax, edx
test ecx, ecx
mov dword [edi + 4], eax
je 0x3b50f198
mov ecx, dword [edi]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push esi
push ebx
push ebp
push ecx
push str.CTWMLatticeHelper::Draw__Loop___j___d___i___d___k___d___y___d___x___d___Code___d___Center___d__d_
push str.LatticeHelper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
add esp, 0x30
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x90]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x278]
push ecx
push edx
push edi
push eax
call fcn.3b50f580
add esp, 0x18
inc ebx
add edi, 8
cmp ebx, 4
jl 0x3b50f07c
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
inc ebp
add edx, ecx
cmp ebp, eax
mov dword [esp + 0x3c], edx
mov ebx, ecx
jl 0x3b50ef9e
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
inc ecx
add edx, ebx
cmp ecx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
jl 0x3b50ef54
mov esi, dword [esp + 0x270]
lea edx, [esp + 0xb0]
lea eax, [esp + 0xa4]
push edx
lea ecx, [esp + 0xb0]
push eax
lea edx, [esp + 0xbc]
push ecx
lea eax, [esp + 0xac]
push edx
lea ecx, [esp + 0xb8]
push eax
push ecx
push esi
call fcn.3b50f6f0
mov eax, dword [0x3b599294]
add esp, 0x1c
test eax, eax
je 0x3b50f30f
push str.CTWMLatticeHelper::Draw__SaveDib_
push str.LatticeHelper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x179]
mov byte [esp + 0x178], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x100]
add esp, 0x10
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
push str.c:DibLattice_Draw__S.bmp
lea eax, [esp + 0x170]
push 0x103
push eax
call fcn.3b5467ce
xor ecx, ecx
lea edx, [esp + 0x108]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x108], 0
mov dword [esp + 0x110], ecx
push ecx
push ecx
push edx
push esi
mov dword [esp + 0x124], ecx
call fcn.3b51ef60
lea eax, [esp + 0x118]
push eax
push esi
call fcn.3b51a3c0
add esp, 0x28
mov dword [esp + 0x6c], eax
test eax, eax
je 0x3b50f30f
lea ecx, [esp + 0x168]
push ecx
push eax
call fcn.3b5182c0
lea edx, [esp + 0x74]
push edx
call fcn.3b517f00
add esp, 0xc
mov eax, dword [esp + 0xec]
test eax, eax
je 0x3b50f329
lea eax, [esp + 0x108]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWorldTransform]
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x3b50f34d
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
push 0
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x3b50f371
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd8]
push 0
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x3b50f384
push eax
push esi
call dword [sym.imp.GDI32.dll_SetMapMode]
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x3b50f397
push eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
push str.CTWMLatticeHelper::Draw___
push str.LatticeHelper
push 0xffffffffffffffff
push 0x3b5995b4
call fcn.3b5446b0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret