Function at 0x401833
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4ddd28]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4dfb68], 0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x3c]
push esi
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x170], eax
jne 0x4018c0
cmp dword [0x4dfb6c], 0
jne 0x4018c0
push str.msimg32.dll
call fcn.0040ad49
mov dword [0x4dfb6c], eax
pop ecx
test eax, eax
je 0x4018c0
push str.AlphaBlend
push eax
call fcn.00409dae
pop ecx
pop ecx
mov dword [0x4dfb68], eax
push 0x18
lea eax, [ebp - 0x1e4]
push 0
push eax
call fcn.00453be0
add esp, 0xc
lea eax, [ebp - 0x1e4]
push eax
push 0x18
push dword [ebp - 0x16c]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x164], ecx
lea eax, [edi + ecx]
cmp eax, dword [ebp - 0x1e0]
jle 0x40190a
mov edi, dword [ebp - 0x1e0]
sub edi, ecx
mov dword [ebp - 0x180], edi
mov ecx, dword [ebp + 0x2c]
lea eax, [ebx + ecx]
cmp eax, dword [ebp - 0x1dc]
jle 0x401926
mov ebx, dword [ebp - 0x1dc]
sub ebx, ecx
mov dword [ebp - 0x19c], ebx
mov edx, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x17c], edx
test edx, edx
je 0x401949
test eax, eax
jle 0x402ee9
test ecx, ecx
jle 0x402ee9
cmp dword [ebp - 0x158], 5
jne 0x401973
test edx, edx
je 0x401965
and dword [ebp - 0x158], 0
mov edi, dword [ebp - 0x180]
jmp 0x40197d
xor eax, eax
inc eax
mov dword [ebp - 0x174], eax
jmp 0x401e4a
mov ebx, dword [ebp - 0x19c]
test edx, edx
je 0x4019c3
cmp dword [ebp - 0x1e0], eax
jne 0x4019c3
cmp dword [ebp - 0x1dc], ecx
jne 0x4019c3
cmp dword [ebp - 0x164], 0
jne 0x4019c3
cmp dword [ebp + 0x2c], 0
jne 0x4019c3
cmp edi, 0xffffffff
jne 0x4019a9
cmp ebx, edi
jne 0x4019a9
xor edx, edx
jmp 0x4019bd
cmp edi, eax
jne 0x4019c3
and dword [ebp - 0x15c], 0
cmp ebx, ecx
cmove edx, dword [ebp - 0x15c]
mov dword [ebp - 0x17c], edx
cmp dword [ebp - 0x158], 4
jne 0x401add
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x168], eax
test eax, eax
je 0x402ee9
push 0x20
xor eax, eax
mov dword [ebp - 0x2c], edi
inc eax
mov dword [ebp - 0x30], 0x28
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x20]
pop eax
push 7
mov ecx, ebx
mov word [ebp - 0x22], ax
neg ecx
xor eax, eax
mov dword [ebp - 0x28], ecx
pop ecx
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [ebp - 0x178]
push ecx
push ecx
push eax
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x178], ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
mov dword [ebp - 0x160], esi
test esi, esi
je 0x401fe9
mov edi, dword [ebp - 0x180]
mov eax, ebx
imul eax, edi
mov ecx, eax
mov dword [ebp - 0x15c], eax
shl ecx, 2
push ecx
push 0xff
push dword [ebp - 0x178]
call fcn.00453be0
add esp, 0xc
push esi
push dword [ebp - 0x168]
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp + 0x2c]
push dword [ebp - 0x164]
push eax
push eax
push dword [ebp - 0x168]
push dword [ebp + 0x18]
push ebx
push edi
push dword [ebp - 0x16c]
push 1
call fcn.00401798
add esp, 0x34
push esi
push dword [ebp - 0x168]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x15c]
test eax, eax
jle 0x401fa7
mov ecx, dword [ebp - 0x178]
mov byte [ecx + 3], 0xff
mov ecx, dword [ebp - 0x178]
add ecx, 4
mov dword [ebp - 0x178], ecx
sub eax, 1
jne 0x401ac0
jmp 0x401fa7
cmp dword [ebp - 0x158], 0xa
jne 0x401c87
cmp edi, 0xffffffff
jne 0x401b14
cmp ebx, edi
jne 0x401b14
mov edi, dword [ebp - 0x1e0]
sub edi, dword [ebp - 0x164]
mov ebx, dword [ebp - 0x1dc]
sub ebx, dword [ebp + 0x2c]
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x19c], ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x168], eax
test eax, eax
je 0x402ee9
push 0x20
xor eax, eax
mov dword [ebp - 0x2c], edi
inc eax
mov dword [ebp - 0x30], 0x28
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x20]
pop eax
push 7
mov ecx, ebx
mov word [ebp - 0x22], ax
neg ecx
xor eax, eax
mov dword [ebp - 0x28], ecx
pop ecx
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [ebp - 0x178]
push ecx
push ecx
push eax
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x178], ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
mov dword [ebp - 0x184], esi
test esi, esi
je 0x401fe9
mov edi, dword [ebp - 0x180]
mov eax, ebx
imul eax, edi
mov ecx, eax
mov dword [ebp - 0x15c], eax
shl ecx, 2
push ecx
push 0
push dword [ebp - 0x178]
call fcn.00453be0
add esp, 0xc
push esi
push dword [ebp - 0x168]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x2c]
mov esi, eax
push dword [ebp - 0x164]
push ebx
push edi
push 0
push 0
push dword [ebp - 0x16c]
push dword [ebp - 0x168]
call fcn.00403661
add esp, 0x20
push esi
push dword [ebp - 0x168]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 0x18]
mov ecx, eax
mov edx, dword [ebp - 0x15c]
movzx esi, ax
shr ecx, 0x10
shr esi, 8
mov dword [ebp - 0x160], ecx
test edx, edx
jle 0x401c56
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0x178]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x17c], eax
cmp byte [ecx], bl
jne 0x401c35
movzx eax, byte [ecx + 1]
cmp eax, esi
jne 0x401c35
mov eax, dword [ebp - 0x160]
cmp byte [ecx + 2], al
jne 0x401c35
mov byte [ecx + 3], 0
jmp 0x401c39
mov byte [ecx + 3], 0xff
mov ecx, dword [ebp - 0x178]
add ecx, 4
mov dword [ebp - 0x178], ecx
sub edx, 1
jne 0x401c18
mov ebx, dword [ebp - 0x19c]
mov eax, dword [ebp + 0x18]
push dword [ebp - 0x18c]
mov esi, dword [ebp - 0x184]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp - 0x17c]
push 0
push 0
push dword [ebp + 0x24]
push dword [ebp - 0x170]
push dword [ebp - 0x188]
push eax
jmp 0x401fd5
mov dword [ebp - 0x184], edx
cmp edx, 6
jne 0x401d4f
test edi, edi
je 0x401ca8
cmp edi, 0xffffffff
je 0x401ca8
test ebx, ebx
je 0x401ca8
cmp ebx, 0xffffffff
jne 0x401cb4
mov edi, dword [ebp - 0x1e0]
mov ebx, dword [ebp - 0x1dc]
xorps xmm6, xmm6
xorps xmm3, xmm3
cvtsi2ss xmm3, edi
cvtsi2ss xmm6, ebx
xorps xmm5, xmm5
xorps xmm4, xmm4
movaps xmm1, xmm6
divss xmm1, xmm3
cvtsi2ss xmm5, ecx
cvtsi2ss xmm4, eax
movaps xmm0, xmm5
divss xmm0, xmm1
movaps xmm2, xmm4
cvttss2si eax, xmm0
xorps xmm0, xmm0
divss xmm2, xmm3
cvtsi2ss xmm0, eax
divss xmm0, xmm3
comiss xmm2, xmm0
jbe 0x401d10
divss xmm4, xmm5
mov eax, ebx
divss xmm3, xmm4
cvttss2si ebx, xmm3
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
jmp 0x401d2e
divss xmm5, xmm4
mov eax, edi
divss xmm6, xmm5
cvttss2si edi, xmm6
sub eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x2c]
push dword [ebp - 0x18c]
push ecx
push dword [ebp + 0x34]
push 3
push eax
push dword [ebp - 0x164]
push dword [ebp + 0x24]
push dword [ebp - 0x170]
jmp 0x403055
mov edx, dword [ebp - 0x184]
mov esi, dword [ebp - 0x158]
mov dword [ebp - 0x174], esi
mov esi, dword [ebp - 0x188]
mov dword [ebp - 0x17c], edx
cmp edx, 4
je 0x402ef0
mov esi, dword [ebp - 0x174]
mov dword [ebp - 0x158], esi
mov esi, dword [ebp - 0x188]
mov dword [ebp - 0x184], edx
cmp edx, 5
je 0x402ef0
cmp edx, 2
jne 0x401e44
test edi, edi
je 0x401db2
cmp edi, 0xffffffff
je 0x401db2
test ebx, ebx
je 0x401db2
cmp ebx, 0xffffffff
jne 0x401dbe
mov edi, dword [ebp - 0x1e0]
mov ebx, dword [ebp - 0x1dc]
cmp edi, eax
jl 0x401dfc
cmp ebx, ecx
jl 0x401dfc
push dword [ebp - 0x18c]
lfence
push ecx
push eax
push 1
push dword [ebp + 0x2c]
push dword [ebp - 0x164]
push dword [ebp + 0x24]
push dword [ebp - 0x170]
push esi
push dword [ebp + 0x18]
push ebx
push edi
push dword [ebp - 0x16c]
push dword [ebp - 0x174]
jmp 0x403067
push dword [ebp - 0x18c]
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 0x38]
cdq
sub eax, edx
sar ecx, 1
push 0xffffffffffffffff
sar eax, 1
sub eax, ecx
add eax, dword [ebp + 0x24]
push 0xffffffffffffffff
push 0
push dword [ebp + 0x2c]
push dword [ebp - 0x164]
push eax
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 0x34]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
add eax, dword [ebp - 0x170]
push eax
jmp 0x401de5
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x154]
push eax
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x154], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x150], 5
sbb eax, eax
inc eax
mov dword [ebp - 0x194], eax
cmp edi, 0xffffffff
jne 0x401eb1
cmp ebx, edi
jne 0x402ee9
mov edi, dword [ebp - 0x1e0]
mov ecx, dword [ebp - 0x164]
sub edi, ecx
mov ebx, dword [ebp - 0x1dc]
mov eax, dword [ebp + 0x2c]
sub ebx, eax
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x19c], ebx
jmp 0x401eba
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp - 0x164]
test edi, edi
jle 0x402ee9
test ebx, ebx
jle 0x402ee9
mov edx, dword [ebp - 0x174]
cmp edx, 7
jne 0x401ff4
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x168], eax
test eax, eax
je 0x402ee9
push 0x20
xor eax, eax
mov dword [ebp - 0x2c], edi
inc eax
mov dword [ebp - 0x30], 0x28
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x20]
pop eax
push 7
pop ecx
mov word [ebp - 0x22], ax
mov edx, ebx
xor eax, eax
neg edx
mov dword [ebp - 0x28], edx
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [ebp - 0x15c]
push ecx
push ecx
push eax
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x15c], ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
mov dword [ebp - 0x160], esi
test esi, esi
je 0x401fe9
mov edi, dword [ebp - 0x180]
mov ecx, ebx
imul ecx, edi
lfence
shl ecx, 2
push ecx
push 0
push dword [ebp - 0x15c]
call fcn.00453be0
add esp, 0xc
push esi
push dword [ebp - 0x168]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xffffffffffffffff
push ebx
push edi
push dword [ebp + 0x2c]
mov esi, eax
push dword [ebp - 0x164]
push 0
push 0
push dword [ebp - 0x16c]
push dword [ebp - 0x168]
call fcn.0040fd88
add esp, 0x24
push esi
push dword [ebp - 0x168]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18c]
mov esi, dword [ebp - 0x160]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp - 0x17c]
push 0
push 0
push dword [ebp + 0x24]
push dword [ebp - 0x170]
push dword [ebp - 0x188]
push dword [ebp + 0x18]
push ebx
push edi
push esi
push 3
call fcn.00401833
add esp, 0x38
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x168]
jmp 0x402ec0
cmp edx, 9
je 0x402cf1
cmp edx, 2
je 0x402cf1
push esi
call dword [sym.imp.GDI32.dll_GetBkMode]
push esi
mov dword [ebp - 0x1b0], eax
call dword [sym.imp.GDI32.dll_GetBkColor]
push 0xffffff
push esi
mov dword [ebp - 0x1a0], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push esi
call dword [sym.imp.GDI32.dll_GetTextColor]
push 0
push esi
mov dword [ebp - 0x184], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x158], eax
test eax, eax
je 0x402c7f
push dword [ebp - 0x16c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x18
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.00453be0
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
push 0x18
push dword [ebp - 0x16c]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp + 0x18]
push eax
push dword [ebp - 0x158]
mov dword [ebp - 0x178], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push 2
push dword [ebp - 0x158]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [ebp - 0x228]
cmp dword [ebp - 0x164], edx
jge 0x402cab
mov ecx, dword [ebp - 0x224]
cmp dword [ebp + 0x2c], ecx
jge 0x402cab
mov eax, dword [ebp - 0x17c]
test eax, eax
jne 0x4020f7
cmp edx, edi
cmovl edi, edx
cmp ecx, ebx
mov dword [ebp - 0x180], edi
cmovl ebx, ecx
mov dword [ebp - 0x19c], ebx
mov ecx, dword [ebp - 0x174]
cmp ecx, 3
je 0x402112
cmp dword [ebp - 0x18c], 0xff
je 0x4026e8
cmp dword [0x4dfb68], 0
je 0x4026e8
call fcn.0040dba5
test eax, eax
je 0x402286
cmp dword [ebp - 0x164], 0
jne 0x402286
cmp dword [ebp + 0x2c], 0
jne 0x402286
cmp dword [ebp - 0x228], edi
jne 0x402286
cmp dword [ebp - 0x224], ebx
jne 0x402286
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x17c], eax
cmp eax, 3
jne 0x402286
push 0x18
lea eax, [ebp - 0x1c8]
push 0
push eax
call fcn.00453be0
add esp, 0xc
lea eax, [ebp - 0x1c8]
push eax
push 0x18
push dword [ebp - 0x16c]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x15c], eax
test eax, eax
jne 0x4023ee
mov eax, dword [ebp - 0x1c4]
lea edi, [ebp - 0x4c]
mov dx, word [ebp - 0x1b6]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x1c0]
neg eax
mov dword [ebp - 0x5c], 0x28
mov dword [ebp - 0x54], eax
xor eax, eax
inc eax
mov word [ebp - 0x4e], dx
mov word [ebp - 0x50], ax
xor eax, eax
push 7
pop ecx
rep stosd dword es:[edi], eax
movzx eax, dx
shr eax, 3
imul eax, dword [ebp - 0x1bc]
imul eax, dword [ebp - 0x1c0]
push eax
call fcn.004613ee
mov edi, eax
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x174], eax
pop ecx
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x17c], ecx
test edi, edi
je 0x402280
push 0
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x5c]
push eax
push edi
push dword [ebp - 0x1c0]
push 0
push dword [ebp - 0x16c]
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jg 0x4023e8
push edi
lfence
call fcn.004613d3
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x160]
pop ecx
mov dword [ebp - 0x17c], eax
mov edi, dword [ebp - 0x180]
push 4
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.00453be0
mov eax, dword [ebp - 0x18c]
add esp, 0xc
cmp dword [ebp - 0x174], 3
mov byte [ebp - 0x166], al
jne 0x4022bc
mov byte [ebp - 0x165], 1
mov byte [ebp - 0x168], 0
mov eax, dword [ebp - 0x17c]
mov ecx, edi
test eax, eax
cmovne ecx, dword [ebp + 0x34]
mov dword [ebp - 0x160], ecx
mov ecx, ebx
cmovne ecx, dword [ebp + 0x38]
mov dword [ebp - 0x15c], ecx
je 0x4022f5
push 3
push esi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 3
push dword [ebp - 0x158]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0xffffff
push dword [ebp - 0x158]
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [0x4dfb68]
mov dword [ebp - 0x190], eax
test eax, eax
je 0x402c5f
mov ecx, dword [ebp + 0x24]
lfence
push dword [ebp - 0x168]
push ebx
push edi
push dword [ebp + 0x2c]
push dword [ebp - 0x164]
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
push dword [ebp - 0x160]
push ecx
push dword [ebp - 0x170]
mov ecx, eax
push esi
call dword [0x4b765c]
call dword [ebp - 0x190]
test eax, eax
jne 0x402c5f
lfence
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x1ac]
push dword [ebp - 0x158]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x158]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x1b0]
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x1a0]
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 0x184]
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x18c]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp - 0x17c]
push dword [ebp + 0x2c]
push dword [ebp - 0x164]
push dword [ebp + 0x24]
push dword [ebp - 0x170]
push esi
push dword [ebp - 0x178]
push ebx
push edi
push dword [ebp - 0x16c]
push 0
jmp 0x403067
mov ecx, dword [ebp - 0x174]
movd xmm0, dword [ebp - 0x170]
cmp ecx, 6
cvtdq2ps xmm0, xmm0
mov eax, 0xe200b
mov ebx, 0x22009
cmovne ebx, eax
lea eax, [ebp - 0x160]
push eax
push esi
lfence
movss dword [ebp - 0x214], xmm0
movd xmm0, dword [ebp + 0x24]
cvtdq2ps xmm0, xmm0
and dword [ebp - 0x160], 0
movss dword [ebp - 0x210], xmm0
movd xmm0, dword [ebp + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x20c], xmm0
movd xmm0, dword [ebp + 0x38]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x208], xmm0
call sub.gdiplus.dll_GdipCreateFromHDC
mov esi, dword [ebp - 0x160]
lea ecx, [ebp - 0x1f4]
push ebx
push dword [ebp - 0x19c]
mov edi, eax
mov dword [ebp - 0x1a8], esi
push dword [ebp - 0x180]
call fcn.004010c0
and dword [ebp - 0x198], 0
lea eax, [ebp - 0x198]
push eax
call sub.gdiplus.dll_GdipCreateImageAttributes
push 7
push esi
mov dword [ebp - 0x194], eax
call sub.gdiplus.dll_GdipSetInterpolationMode
mov esi, dword [ebp - 0x19c]
test eax, eax
mov dword [ebp - 0x1f8], esi
cmovne edi, eax
and dword [ebp - 0x204], 0
and dword [ebp - 0x200], 0
lea eax, [ebp - 0x1c]
push eax
push ebx
mov ebx, dword [ebp - 0x1f0]
lea eax, [ebp - 0x204]
push 3
push eax
mov dword [ebp - 0x1a4], edi
mov edi, dword [ebp - 0x180]
push ebx
mov dword [ebp - 0x1fc], edi
mov dword [ebp - 0x160], ebx
call sub.gdiplus.dll_GdipBitmapLockBits
test eax, eax
je 0x4024fc
mov dword [ebp - 0x1ec], eax
jmp 0x402532
lfence
mov eax, esi
imul eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x15c]
push dword [ebp - 0xc]
call fcn.00453660
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push ebx
call sub.gdiplus.dll_GdipBitmapUnlockBits
mov ecx, dword [ebp - 0x1ec]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x1ec], ecx
mov eax, dword [ebp - 0x15c]
cmp eax, dword [ebp - 0x1b4]
je 0x40254b
test eax, eax
je 0x40254b
push eax
call fcn.004613d3
pop ecx
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x4025f2
cmp eax, 0xff
je 0x4025f2
movaps xmm0, xmmword [0x4b8330]
movups xmmword [ebp - 0xc0], xmm0
and dword [ebp - 0x80], 0
movaps xmm0, xmmword [0x4b8340]
movups xmmword [ebp - 0xb0], xmm0
and dword [ebp - 0x7c], 0
xorps xmm0, xmm0
and dword [ebp - 0x64], 0
movups xmmword [ebp - 0xa0], xmm0
push 0
movaps xmm0, xmmword [0x4b8330]
movups xmmword [ebp - 0x90], xmm0
push 0
movd xmm0, eax
lea eax, [ebp - 0xc0]
cvtdq2ps xmm0, xmm0
push eax
xor eax, eax
mov dword [ebp - 0x60], 0x3f800000
inc eax
push eax
push eax
divss xmm0, dword [0x4b8320]
push dword [ebp - 0x198]
movss dword [ebp - 0x78], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x74], xmm0
call sub.gdiplus.dll_GdipSetImageAttributesColorMatrix
mov ecx, dword [ebp - 0x194]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x194], ecx
push 0
push 0xff000000
push 3
push dword [ebp - 0x198]
call sub.gdiplus.dll_GdipSetImageAttributesWrapMode
mov ecx, dword [ebp - 0x194]
test eax, eax
push 0
cmovne ecx, eax
movd xmm0, esi
push 0
cvtdq2ps xmm0, xmm0
lea eax, [ebp - 0x198]
mov dword [ebp - 0x194], ecx
push eax
push 2
sub esp, 0x10
lea eax, [ebp - 0x214]
lea ecx, [ebp - 0x1a8]
movss dword [esp + 0xc], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movd xmm0, dword [ebp + 0x2c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ebp - 0x164]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.0040120a
push dword [ebp - 0x1ac]
mov ebx, dword [ebp - 0x158]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x1b0]
mov ebx, dword [ebp - 0x188]
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x1a0]
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 0x184]
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x198]
call sub.gdiplus.dll_GdipDisposeImageAttributes
push dword [ebp - 0x160]
call sub.gdiplus.dll_GdipDisposeImage
push dword [ebp - 0x1a8]
call sub.gdiplus.dll_GdipDeleteGraphics
xor eax, eax
inc eax
jmp 0x40306f
test ecx, ecx
je 0x4029e2
cmp ecx, 3
je 0x4029e2
mov eax, ebx
imul eax, edi
lfence
mov dword [ebp - 0x16c], eax
lea eax, [eax*2 + 1]
push eax
mov dword [ebp - 0x160], eax
call fcn.004613ee
mov dword [ebp - 0x174], eax
pop ecx
test eax, eax
je 0x402c5f
lfence
push dword [ebp - 0x160]
push 0
push eax
call fcn.00453be0
add esp, 0xc
xor eax, eax
inc eax
push dword [ebp - 0x174]
push eax
push eax
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebp - 0x168], eax
test eax, eax
je 0x4029ce
push esi
lfence
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x194], eax
test eax, eax
je 0x4029c2
lfence
push dword [ebp - 0x168]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push 0
push dword [ebp - 0x158]
mov dword [ebp - 0x1a4], eax
call dword [sym.imp.GDI32.dll_GetPixel]
push dword [ebp - 0x178]
mov esi, eax
push 0
push 0
push dword [ebp - 0x158]
call dword [sym.imp.GDI32.dll_SetPixel]
push 0
push 0
push dword [ebp - 0x158]
call dword [sym.imp.GDI32.dll_GetPixel]
mov ecx, dword [ebp - 0x178]
cmp ecx, eax
push esi
mov esi, dword [ebp - 0x158]
cmovne ecx, eax
push 0
push 0
push esi
mov dword [ebp - 0x178], ecx
call dword [sym.imp.GDI32.dll_SetPixel]
push 2
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x178]
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov esi, dword [ebp - 0x188]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x190], eax
test eax, eax
je 0x4029a8
push 2
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x20
xor eax, eax
mov dword [ebp - 0x58], edi
inc eax
mov dword [ebp - 0x5c], 0x28
mov word [ebp - 0x50], ax
lea edi, [ebp - 0x4c]
pop eax
push 7
mov ecx, ebx
mov word [ebp - 0x4e], ax
neg ecx
xor eax, eax
mov dword [ebp - 0x54], ecx
pop ecx
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [ebp - 0x15c]
push ecx
push ecx
push eax
push ecx
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x15c], ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
mov dword [ebp - 0x1cc], esi
test esi, esi
je 0x40299c
mov eax, dword [ebp - 0x16c]
shl eax, 2
push eax
lfence
push 0
push dword [ebp - 0x15c]
mov dword [ebp - 0x160], eax
call fcn.00453be0
add esp, 0xc
push esi
push dword [ebp - 0x190]
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [ebp - 0x180]
mov esi, eax
push 0xcc0020
push dword [ebp + 0x2c]
push dword [ebp - 0x164]
push dword [ebp - 0x158]
push ebx
push edi
push 0
push 0
push dword [ebp - 0x190]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push dword [ebp - 0x190]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x160], 0
jle 0x402958
mov esi, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x16c]
inc esi
mov ebx, dword [ebp - 0x160]
lea eax, [esi - 1]
push 3
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x40294c
mov ecx, dword [ebp - 0x178]
mov eax, ecx
shr eax, 0x10
cmp byte [esi - 1], al
jne 0x40293d
mov eax, ecx
shr eax, 8
cmp byte [esi], al
jne 0x40293d
cmp byte [esi + 1], cl
jne 0x40293d
xor eax, eax
mov word [esi], ax
mov byte [esi - 1], al
jmp 0x40293f
or al, 0xff
mov byte [esi + 2], al
add edi, 4
add esi, 4
cmp edi, ebx
jl 0x402905
mov ebx, dword [ebp - 0x19c]
mov edi, dword [ebp - 0x180]
push dword [ebp - 0x18c]
mov esi, dword [ebp - 0x1cc]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp - 0x17c]
push 0
push 0
push dword [ebp + 0x24]
push dword [ebp - 0x170]
push dword [ebp - 0x188]
push 0xff00ff
push ebx
push edi
push esi
push 3
call fcn.00401833
add esp, 0x38
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x190]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x1a4]
mov esi, dword [ebp - 0x194]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x168]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x174]
lfence
call fcn.004613d3
pop ecx
jmp 0x402c5f
test eax, eax
je 0x402b11
lfence
cmp dword [ebp - 0x194], 0
je 0x402a0d
push 4
push dword [ebp - 0x158]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 4
push esi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0xcc0020
push ebx
mov ebx, dword [ebp + 0x38]
push edi
push dword [ebp + 0x2c]
mov edi, dword [ebp + 0x34]
push dword [ebp - 0x164]
push dword [ebp - 0x158]
push ebx
push edi
push dword [ebp + 0x24]
push dword [ebp - 0x170]
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
call fcn.0040dba5
test eax, eax
je 0x402c5f
push 7
push esi
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push 0x18
mov esi, eax
lea eax, [ebp - 0x1c8]
push 0
push eax
call fcn.00453be0
add esp, 0xc
lea eax, [ebp - 0x1c8]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x194], eax
test eax, eax
je 0x402c5f
mov dx, word [ebp - 0x1b6]
cmp dx, 0x20
jne 0x402c5f
mov eax, dword [ebp - 0x170]
xor esi, esi
test eax, eax
cmovg esi, eax
mov eax, dword [ebp - 0x1c4]
xor ecx, ecx
cmp dword [ebp + 0x24], ecx
cmovg ecx, dword [ebp + 0x24]
sub eax, esi
cmp eax, edi
cmovl edi, eax
mov eax, dword [ebp - 0x1c0]
sub eax, ecx
cmp eax, ebx
cmovl ebx, eax
add ebx, ecx
jmp 0x402b08
movzx eax, dx
mov edx, dword [ebp - 0x1bc]
shr eax, 3
imul eax, esi
imul edx, ecx
add eax, dword [ebp - 0x194]
add edx, eax
lea eax, [esi + edi]
cmp esi, eax
jge 0x402b00
add edx, 3
mov eax, edi
mov byte [edx], 0xff
lea edx, [edx + 4]
sub eax, 1
jne 0x402af5
mov dx, word [ebp - 0x1b6]
inc ecx
cmp ecx, ebx
jl 0x402acf
jmp 0x402c5f
call fcn.0040dba5
lfence
test eax, eax
je 0x402c2f
push 7
push esi
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push 0x18
mov esi, eax
lea eax, [ebp - 0x1c8]
push 0
push eax
call fcn.00453be0
add esp, 0xc
lea eax, [ebp - 0x1c8]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
mov esi, dword [ebp + 0x24]
push 0xcc0020
push dword [ebp + 0x2c]
push dword [ebp - 0x164]
push dword [ebp - 0x158]
push ebx
push edi
push esi
push dword [ebp - 0x170]
push dword [ebp - 0x188]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x170]
xor edx, edx
test eax, eax
cmovg edx, eax
mov eax, dword [ebp - 0x1c4]
xor ecx, ecx
mov dword [ebp - 0x15c], edx
test esi, esi
cmovg ecx, esi
mov esi, dword [ebp - 0x1b4]
sub eax, edx
mov dword [ebp - 0x194], esi
cmp eax, edi
cmovl edi, eax
mov eax, dword [ebp - 0x1c0]
sub eax, ecx
test esi, esi
je 0x402c59
mov si, word [ebp - 0x1b6]
cmp si, 0x20
jne 0x402c59
cmp eax, ebx
cmovl ebx, eax
add ebx, ecx
cmp ecx, ebx
jge 0x402c59
lea eax, [edx + edi]
mov dword [ebp - 0x1a4], eax
movzx eax, si
shr eax, 3
imul eax, edx
mov edx, dword [ebp - 0x1bc]
imul edx, ecx
add eax, dword [ebp - 0x194]
add edx, eax
mov eax, dword [ebp - 0x1a4]
cmp dword [ebp - 0x15c], eax
jge 0x402c22
add edx, 3
mov eax, edi
mov byte [edx], 0xff
lea edx, [edx + 4]
sub eax, 1
jne 0x402c10
mov si, word [ebp - 0x1b6]
mov edx, dword [ebp - 0x15c]
inc ecx
cmp ecx, ebx
jl 0x402be3
jmp 0x402c59
push 0xcc0020
push dword [ebp + 0x2c]
push dword [ebp - 0x164]
push dword [ebp - 0x158]
push ebx
push edi
push dword [ebp + 0x24]
push dword [ebp - 0x170]
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x402c5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x1ac]
mov ebx, dword [ebp - 0x158]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [ebp - 0x188]
push dword [ebp - 0x1b0]
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x1a0]
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 0x184]
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x4026e0
push dword [ebp - 0x1ac]
mov ebx, dword [ebp - 0x158]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x1b0]
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp - 0x1a0]
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp - 0x184]
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x402ee9
cmp dword [ebp - 0x17c], 0
je 0x402ec8
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x184], eax
test eax, eax
je 0x402ee9
push 0x20
xor eax, eax
mov dword [ebp - 0x58], edi
inc eax
mov dword [ebp - 0x5c], 0x28
mov word [ebp - 0x50], ax
lea edi, [ebp - 0x4c]
pop eax
push 7
mov ecx, ebx
mov word [ebp - 0x4e], ax
neg ecx
xor eax, eax
mov dword [ebp - 0x54], ecx
pop ecx
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [ebp - 0x15c]
push ecx
push ecx
push eax
push ecx
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x15c], ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov esi, eax
mov dword [ebp - 0x1cc], esi
test esi, esi
je 0x402eba
mov edi, dword [ebp - 0x180]
mov eax, ebx
imul eax, edi
lfence
mov ecx, eax
mov dword [ebp - 0x160], eax
shl ecx, 2
push ecx
push 0
push dword [ebp - 0x15c]
call fcn.00453be0
add esp, 0xc
push esi
push dword [ebp - 0x184]
call dword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
mov esi, eax
mov eax, dword [ebp + 0x18]
push ecx
push ecx
push ecx
push dword [ebp + 0x2c]
mov dword [ebp - 0x1a0], eax
push dword [ebp - 0x164]
push ecx
push ecx
push dword [ebp - 0x184]
push eax
push ebx
push edi
push dword [ebp - 0x16c]
push ecx
call fcn.00401798
add esp, 0x34
push esi
push dword [ebp - 0x184]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x1a0]
mov eax, ecx
mov esi, dword [ebp - 0x15c]
movzx edx, cx
shr edx, 8
shr eax, 0x10
cmp dword [ebp - 0x160], 0
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x194], eax
jle 0x402e6c
mov edi, dword [ebp - 0x174]
mov ebx, eax
cmp edi, 9
jne 0x402e2a
cmp byte [esi + 2], bl
jne 0x402e2a
movzx eax, byte [esi + 1]
cmp eax, edx
jne 0x402e2a
cmp byte [esi], cl
je 0x402e54
movzx eax, byte [esi]
push eax
movzx eax, byte [esi + 1]
push eax
movzx eax, byte [esi + 2]
push eax
call fcn.0040fd6d
mov ecx, dword [ebp - 0x1a0]
add esp, 0xc
mov edx, dword [ebp - 0x1a4]
mov byte [esi + 2], al
mov byte [esi + 1], al
mov byte [esi], al
add esi, 4
sub dword [ebp - 0x160], 1
jne 0x402e14
mov ebx, dword [ebp - 0x19c]
mov edi, dword [ebp - 0x180]
xor eax, eax
cmp dword [ebp - 0x174], 9
lfence
jne 0x402e7b
inc eax
push dword [ebp - 0x18c]
mov esi, dword [ebp - 0x1cc]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp - 0x17c]
push 0
push 0
push dword [ebp + 0x24]
push dword [ebp - 0x170]
push dword [ebp - 0x188]
push ecx
push ebx
push edi
push esi
push eax
call fcn.00401833
add esp, 0x38
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x184]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x402ee9
push 0xffffffffffffffff
push ebx
push edi
push eax
push ecx
push dword [ebp + 0x24]
lfence
push dword [ebp - 0x170]
push dword [ebp - 0x16c]
push esi
call fcn.0040fd88
add esp, 0x24
xor eax, eax
jmp 0x40306f
xor edx, edx
mov dword [ebp - 0x1a4], eax
and dword [ebp - 0x15c], edx
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x160], edx
test edi, edi
je 0x402f1c
cmp edi, 0xffffffff
je 0x402f1c
test ebx, ebx
je 0x402f1c
cmp ebx, 0xffffffff
jne 0x402f28
mov edi, dword [ebp - 0x1e0]
mov ebx, dword [ebp - 0x1dc]
cmp edi, ebx
je 0x402f9c
test edi, edi
je 0x402f9c
test ebx, ebx
je 0x402f9c
movd xmm3, edi
cvtdq2ps xmm3, xmm3
mov esi, dword [ebp - 0x188]
movd xmm2, ebx
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm3
movd xmm1, eax
divss xmm0, xmm2
cvtdq2ps xmm1, xmm1
divss xmm2, xmm3
divss xmm1, xmm0
movd xmm0, ecx
cvttss2si edx, xmm1
cvtdq2ps xmm0, xmm0
divss xmm0, xmm2
cmp edx, ecx
jle 0x402f84
cvttss2si edx, xmm0
sub eax, edx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
cvttss2si eax, xmm0
jmp 0x402fc9
sub ecx, edx
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0x34]
cvttss2si ecx, xmm1
jmp 0x402fc3
cmp eax, ecx
jle 0x402fad
sub eax, ecx
cdq
sub eax, edx
mov edx, eax
mov eax, ecx
sar edx, 1
jmp 0x402fc9
jge 0x402fc9
sub ecx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x160]
cmp dword [ebp - 0x1e0], eax
jl 0x402fd9
cmp dword [ebp - 0x1dc], ecx
jge 0x40302f
cmp dword [ebp - 0x184], 5
jne 0x40302f
push dword [ebp - 0x18c]
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x194]
cdq
sub eax, edx
sar ecx, 1
push 0xffffffffffffffff
sar eax, 1
sub eax, ecx
add eax, dword [ebp + 0x24]
push 0xffffffffffffffff
push 0
push dword [ebp + 0x2c]
push dword [ebp - 0x164]
push eax
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x1a4]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
add eax, dword [ebp - 0x170]
jmp 0x403054
push dword [ebp - 0x18c]
push ecx
push eax
mov eax, dword [ebp + 0x24]
add eax, dword [ebp - 0x15c]
push 3
push dword [ebp + 0x2c]
push dword [ebp - 0x164]
push eax
mov eax, dword [ebp - 0x170]
add eax, edx
push eax
push esi
push dword [ebp + 0x18]
push ebx
push edi
push dword [ebp - 0x16c]
push dword [ebp - 0x158]
call fcn.00401833
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00451acd
leave
ret