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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45c833
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x480084]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push esi
push edi
mov eax, dword [0x480084]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
lea esi, [eax + 0x30]
mov ebx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebx
cmp dword [esi], edi
je 0x436637
call fcn.00405090
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x1b
mov dword [esp + 0x3c], 0x2d
mov dword [esp + 0x2c], 0x43
mov ecx, dword [esp + 0x10]
add ecx, 0x11
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
cmp edx, ecx
jge 0x4366c2
mov ecx, dword [esp + 0x2c]
add ecx, 0x48
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
imul ecx, ecx, 0x55
sub ecx, edx
mov edx, dword [esp + 0x10]
sub ecx, edx
mov edx, dword [esp + 0x3c]
lea ecx, [ecx + edx + 0x51]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
imul ecx, ecx, 0x78
sub ecx, edx
add ecx, dword [esp + 0x3c]
add ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
lea ecx, [ecx + edx + 0x55]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
cmp ecx, edx
jl 0x4366c2
add dword [esp + 0x10], 0xffffffd0
lea esi, [eax + 0x34]
cmp dword [esi], ebx
je 0x4366d0
mov edi, ebx
call fcn.00405090
fld qword [0x47a998]
push 0x4607ec
fstp qword [esp + 0x38]
mov esi, ebx
fld qword [0x47a990]
lea ebx, [esp + 0x90]
fstp qword [esp + 0x50]
fld qword [esp + 0x38]
fmul qword [esp + 0x38]
fstp qword [esp + 0x38]
fld qword [esp + 0x50]
fmul qword [0x47a988]
fadd qword [esp + 0x38]
fstp qword [esp + 0x38]
fld qword [esp + 0x50]
fld qword [esp + 0x50]
fmul qword [esp + 0x38]
fsubp st(1)
fsub qword [esp + 0x38]
fld qword [esp + 0x38]
fmul qword [0x47a920]
fsubp st(1)
fsub qword [esp + 0x50]
fadd qword [esp + 0x38]
fstp qword [esp + 0x50]
fld qword [esp + 0x38]
fmul qword [0x47a980]
fadd qword [esp + 0x50]
fsub qword [esp + 0x38]
fstp qword [esp + 0x38]
fld qword [esp + 0x38]
fmul qword [0x47a940]
fmul qword [esp + 0x50]
fmul qword [esp + 0x50]
fmul qword [esp + 0x50]
fsub qword [0x47a9d8]
fsub qword [esp + 0x50]
fsub qword [0x47a978]
fadd qword [esp + 0x38]
fadd qword [esp + 0x50]
fadd qword [esp + 0x50]
push dword [0x481864]
fadd qword [0x47a970]
fstp qword [esp + 0x3c]
call fcn.00450d85
xor ebx, ebx
mov dword [esp + 0x1b0], ebx
mov dword [esp + 0x18], 0x34
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
lea eax, [ecx + eax + 0xf]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
imul eax, eax, 0x36
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
lea eax, [eax + ecx + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov ecx, dword [esp + 0x18]
imul ecx, ecx, 0x52
sub eax, ecx
add eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov ecx, dword [esp + 0x18]
imul ecx, ecx, 0x4c
sub eax, ecx
mov ecx, dword [esp + 0x18]
lea eax, [eax + ecx - 0x51]
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x18]
push SysReAllocString
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x1c], eax
add dword [esp + 0x1c], 0xffffffd9
add dword [esp + 0x1c], 0x1c
push dword [0x481954]
push dword [esp + 0x38]
call fcn.00450c23
add esp, 0x14
push 0x80088
push dword [0x481958]
mov dword [esp + 0x3c], eax
push dword [esp + 0x30]
call fcn.00450c23
add esp, 0xc
cmp dword [esp + 0xa0], 8
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x8c]
jae 0x43688b
lea eax, [esp + 0x8c]
cmp eax, ebx
je 0x4368ab
cmp dword [esp + 0xa0], 8
jb 0x4368a2
mov eax, dword [esp + 0x8c]
jmp 0x4368b0
lea eax, [esp + 0x8c]
jmp 0x4368b0
mov eax, dword [0x4818b0]
push eax
lea eax, [esp + 0x110]
call fcn.004061eb
push 0xfde9
lea edx, [esp + 0x110]
lea ecx, [esp + 0x12c]
mov byte [esp + 0x1ac], 1
call fcn.0045141d
pop ecx
mov byte [esp + 0x1a8], 2
cmp dword [eax + 0x14], 0x10
jb 0x4368ee
mov eax, dword [eax]
push eax
push dword [0x481620]
push dword [0x48161c]
push ebx
call fcn.0044159c
add esp, 0x10
push 1
xor edi, edi
lea esi, [esp + 0x12c]
call fcn.00405d80
push 1
lea esi, [esp + 0x110]
mov byte [esp + 0x1ac], bl
call fcn.004060c4
mov dword [esp + 0x10], 0x32
mov eax, dword [esp + 0x10]
imul eax, eax, 0x49
cdq
push 0xa
pop ecx
idiv ecx
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
imul ecx, edx
shl eax, 6
add eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx - 0x70]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x9c], ebx
jne 0x436981
push 1
jmp 0x4373f0
cmp dword [esp + 0xa0], 8
mov esi, dword [esp + 0x8c]
jae 0x436999
lea esi, [esp + 0x8c]
call fcn.00441f13
push 0x2010
push ebx
push ebx
push ebx
push esi
push ebx
call dword [eax + 0x11c]
mov esi, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x4369c6
cmp eax, edi
je 0x4369c6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, edi
mov dword [esi + 0x38], edi
cmp ecx, ebx
jne 0x436a8d
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x4369eb
lea eax, [esp + 0x8c]
cmp eax, ebx
je 0x436a0b
cmp dword [esp + 0xa0], 8
jb 0x436a02
mov eax, dword [esp + 0x8c]
jmp 0x436a10
lea eax, [esp + 0x8c]
jmp 0x436a10
mov eax, dword [0x4818b0]
push eax
lea eax, [esp + 0xf4]
call fcn.004061eb
push 0xfde9
lea edx, [esp + 0xf4]
lea ecx, [esp + 0x164]
mov byte [esp + 0x1ac], 3
call fcn.0045141d
pop ecx
mov byte [esp + 0x1a8], 4
cmp dword [eax + 0x14], 0x10
jb 0x436a50
mov esi, dword [eax]
jmp 0x436a52
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
push dword [0x481624]
xor ebx, ebx
inc ebx
push ebx
call fcn.0044159c
add esp, 0x10
push ebx
xor edi, edi
lea esi, [esp + 0x164]
call fcn.00405d80
push ebx
lea esi, [esp + 0xf4]
call fcn.004060c4
jmp 0x4373ef
xor eax, eax
mov dword [esp + 0x74], ebx
lea edi, [esp + 0x78]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x74]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4372ec
mov eax, dword [esp + 0x78]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x48], eax
cmp dword [esi + 0x44], ebx
je 0x4372ec
cmp eax, ebx
je 0x4372ec
push ebx
push dword [0x48194c]
push dword [esp + 0x30]
call fcn.00450d30
add esp, 0xc
push 0x53
mov dword [esp + 0x20], 0x3f
pop edi
mov ecx, eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x34
mov dword [esp + 0x1c], eax
cmp ecx, ebx
jg 0x436b07
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
cmp ecx, eax
jle 0x436b10
mov ecx, eax
fld qword [0x47a9e0]
fstp qword [esp + 0x44]
fld qword [0x47a9d8]
fstp qword [esp + 0x54]
fld qword [0x47a9d0]
fstp qword [esp + 0x3c]
fld qword [0x47a9c8]
fstp qword [esp + 0x14]
fld qword [0x47a9c0]
fstp qword [esp + 0x1c]
fld qword [0x47a9b8]
fstp qword [esp + 0x2c]
fld qword [0x47a9b0]
fstp qword [esp + 0x44]
fld qword [esp + 0x54]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x436bab
fld qword [esp + 0x1c]
fstp st(0)
fld qword [esp + 0x44]
fstp st(0)
fld qword [esp + 0x2c]
fmul qword [esp + 0x14]
fsub qword [0x47a928]
fld qword [esp + 0x1c]
fmul qword [esp + 0x14]
fmul qword [0x47a8f0]
faddp st(1)
fld qword [esp + 0x54]
fdiv qword [0x47a908]
faddp st(1)
fstp qword [esp + 0x3c]
fld qword [esp + 0x44]
fmul qword [esp + 0x44]
fstp qword [esp + 0x44]
fld qword [esp + 0x1c]
push ebx
fmul qword [0x47a9a8]
fadd qword [esp + 0x18]
fadd qword [esp + 0x40]
fadd qword [0x47a9a0]
fadd qword [esp + 0x18]
fsub qword [esp + 0x58]
fld qword [esp + 0x20]
fmul qword [esp + 0x58]
fmul qword [esp + 0x18]
mov eax, dword [esi + 0x48]
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ecx
faddp st(1)
fstp qword [esp + 0x48]
mov dword [esp + 0x14], 0x34
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
lea eax, [ecx + eax + 0xf]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
imul eax, eax, 0x36
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
imul eax, ecx
mov ecx, dword [esp + 0x14]
imul ecx, ecx, 0x52
sub eax, ecx
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
imul eax, ecx
mov ecx, dword [esp + 0x14]
imul ecx, ecx, 0x4c
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx - 0x51]
add eax, dword [esp + 0x14]
add eax, dword [esp + 0x14]
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x14], eax
add dword [esp + 0x14], 0xffffffd9
add dword [esp + 0x14], 0x1c
mov dword [esi + 0x4c], ebx
push dword [0x48195c]
push dword [esp + 0x30]
call fcn.00450c23
mov dword [esp + 0x28], 0x3f
mov ecx, eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x28]
imul eax, eax, 0x34
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp ecx, ebx
jne 0x436cb9
push 2
pop ecx
fld qword [0x47a968]
xor edx, edx
fstp qword [esp + 0x14]
mov eax, 0x3e8
fld qword [esp + 0x14]
div ecx
fadd qword [0x47a960]
fadd qword [esp + 0x14]
fsub qword [esp + 0x14]
fsub qword [0x47a958]
fadd qword [esp + 0x14]
fadd qword [0x47a950]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fsubp st(1)
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x47a8f8]
fsubp st(1)
fld qword [esp + 0x14]
fmul qword [0x47a948]
fsubp st(1)
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x47a940]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fsub qword [esp + 0x14]
fadd qword [0x47a938]
fadd qword [esp + 0x14]
fsub qword [0x47a930]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fsubp st(1)
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fsubp st(1)
fld qword [esp + 0x14]
fdiv qword [0x47a928]
faddp st(1)
fsub qword [esp + 0x14]
fadd qword [esp + 0x14]
fsub qword [0x47a920]
fsub qword [esp + 0x14]
mov dword [esi + 0x50], eax
fstp qword [esp + 0x14]
mov dword [esp + 0x1c], 0x2f
mov dword [esp + 0x3c], 0x29
mov dword [esp + 0x10], 0x37
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x14], 0x50
mov dword [esp + 0x44], 0x5d
mov dword [esp + 0x54], 9
mov eax, dword [esp + 0x3c]
sub eax, 0x11
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x7ec
imul ecx, ecx, 0xffffffee
sub ecx, eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
imul eax, edx
add ecx, eax
mov eax, dword [esp + 0x44]
sub ecx, eax
mov eax, dword [esp + 0x54]
lea eax, [ecx + eax + 0x3f]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jne 0x436e83
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x436e83
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
imul eax, ecx
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub eax, ecx
add eax, 0x30
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
imul eax, ecx
mov ecx, dword [esp + 0x54]
imul ecx, ecx, 0xf
sub ecx, eax
sub ecx, 0x60
mov dword [esp + 0x10], ecx
push 0x18
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.004147f0
mov dword [esp + 0x20], 0x3f
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x20]
imul eax, eax, 0x34
add esp, 0xc
mov dword [esp + 0x14], eax
lea eax, [esp + 0x5c]
push eax
push 0x18
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp word [esp + 0x6c], 1
jne 0x437149
cmp word [esp + 0x6e], 0x20
jne 0x437149
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x70]
dec eax
mov dword [esp + 0x20], eax
cmp eax, ebx
jl 0x43704f
fld qword [0x47aa08]
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x60], ebx
jle 0x437043
movzx eax, byte [edi + 3]
movzx ecx, byte [edi + 2]
imul ecx, eax
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fdiv st(1)
call fcn.00457216
movzx ecx, byte [edi + 1]
mov byte [edi + 2], al
movzx eax, byte [edi + 3]
imul ecx, eax
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fdiv st(1)
call fcn.00457216
fld qword [0x47a968]
mov byte [edi + 1], al
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [0x47a960]
fadd qword [esp + 0x14]
fsub qword [esp + 0x14]
fsub qword [0x47a958]
fadd qword [esp + 0x14]
fadd qword [0x47a950]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fsubp st(1)
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x47a8f8]
fsubp st(1)
fld qword [esp + 0x14]
fmul qword [0x47a948]
fsubp st(1)
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x47a940]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fsub qword [esp + 0x14]
fadd qword [0x47a938]
fadd qword [esp + 0x14]
fsub qword [0x47a930]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fsubp st(1)
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
fsubp st(1)
fld qword [esp + 0x14]
fdiv qword [0x47a928]
faddp st(1)
fsub qword [esp + 0x14]
fadd qword [esp + 0x14]
fsub qword [0x47a920]
fsub qword [esp + 0x14]
movzx ecx, byte [edi]
movzx eax, byte [edi + 3]
fstp qword [esp + 0x14]
imul eax, ecx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv st(1)
call fcn.00457216
inc dword [esp + 0x1c]
mov byte [edi], al
mov eax, dword [esp + 0x1c]
add edi, 4
cmp eax, dword [esp + 0x60]
jl 0x436efb
dec dword [esp + 0x20]
jns 0x436eed
fstp st(0)
push ebx
push dword [0x481944]
mov dword [esp + 0xb0], ebx
push dword [esp + 0x30]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
call fcn.00450d30
add esp, 0xc
push ebx
push dword [0x481948]
mov dword [esp + 0xb0], eax
push dword [esp + 0x30]
call fcn.00450d30
mov dword [esp + 0xb8], eax
mov dword [esp + 0x1c], 0x32
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x49
cdq
push 0xa
pop ecx
idiv ecx
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [esp + 0x18], esp
imul eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
imul ecx, edx
shl eax, 6
add eax, ecx
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx - 0x70]
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x3c]
add eax, dword [esp + 0xac]
mov dword [esp + 0xb4], eax
mov eax, dword [esi + 0x40]
add eax, dword [esp + 0xb0]
mov dword [esp + 0xb8], eax
mov eax, esp
push dword [esp + 0x50]
mov dword [eax], ebx
push dword [esp + 0x3c]
push ecx
mov eax, esp
lea ecx, [esp + 0xb8]
mov dword [eax], ecx
mov eax, esi
mov dword [esp + 0x44], esp
call fcn.0040c338
push 1
xor edi, edi
lea esi, [esp + 0x90]
mov ebx, eax
call fcn.004060c4
mov eax, ebx
jmp 0x437400
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x437161
lea eax, [esp + 0x8c]
cmp eax, ebx
je 0x437181
cmp dword [esp + 0xa0], 8
jb 0x437178
mov eax, dword [esp + 0x8c]
jmp 0x437186
lea eax, [esp + 0x8c]
jmp 0x437186
mov eax, dword [0x4818b0]
push eax
lea eax, [esp + 0xd8]
call fcn.004061eb
push 0xfde9
lea edx, [esp + 0xd8]
lea ecx, [esp + 0x148]
mov byte [esp + 0x1ac], 7
call fcn.0045141d
pop ecx
mov byte [esp + 0x1a8], 8
cmp dword [eax + 0x14], 0x10
jb 0x4371c4
mov eax, dword [eax]
push eax
movzx eax, word [esp + 0x72]
push eax
movzx eax, word [esp + 0x74]
push eax
push dword [0x48162c]
xor ebx, ebx
inc ebx
push ebx
call fcn.0044159c
add esp, 0x14
push ebx
xor edi, edi
lea esi, [esp + 0x148]
call fcn.00405d80
push ebx
lea esi, [esp + 0xd8]
call fcn.004060c4
mov dword [esp + 0x1c], 0x2f
mov dword [esp + 0x54], 0x29
mov dword [esp + 0x2c], 0x37
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x34], 0x50
mov dword [esp + 0x44], 0x5d
mov dword [esp + 0x3c], 9
mov eax, dword [esp + 0x54]
sub eax, 0x11
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
imul eax, eax, 0x7ec
imul ecx, ecx, 0xffffffee
sub ecx, eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
imul eax, edx
add ecx, eax
mov eax, dword [esp + 0x44]
sub ecx, eax
mov eax, dword [esp + 0x3c]
lea eax, [ecx + eax + 0x3f]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
cmp ecx, eax
jne 0x4373ef
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
je 0x4373ef
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
imul eax, ecx
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub eax, ecx
add eax, 0x30
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
imul eax, ecx
mov ecx, dword [esp + 0x3c]
imul ecx, ecx, 0xf
sub ecx, eax
sub ecx, 0x60
mov dword [esp + 0x2c], ecx
jmp 0x4373ef
cmp dword [esp + 0xa0], 8
mov eax, dword [esp + 0x8c]
jae 0x437304
lea eax, [esp + 0x8c]
cmp eax, ebx
je 0x437324
cmp dword [esp + 0xa0], 8
jb 0x43731b
mov eax, dword [esp + 0x8c]
jmp 0x437329
lea eax, [esp + 0x8c]
jmp 0x437329
mov eax, dword [0x4818b0]
push eax
lea eax, [esp + 0xbc]
call fcn.004061eb
push 0xfde9
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x180]
mov byte [esp + 0x1ac], 5
call fcn.0045141d
pop ecx
mov byte [esp + 0x1a8], 6
cmp dword [eax + 0x14], 0x10
jb 0x437369
mov edi, dword [eax]
jmp 0x43736b
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push eax
push dword [esi + 0x48]
xor ebx, ebx
push dword [esi + 0x44]
inc ebx
push dword [0x481628]
push ebx
call fcn.0044159c
add esp, 0x18
push ebx
xor edi, edi
lea esi, [esp + 0x180]
call fcn.00405d80
push ebx
lea esi, [esp + 0xbc]
call fcn.004060c4
mov dword [esp + 0x10], 0x32
mov eax, dword [esp + 0x10]
imul eax, eax, 0x49
cdq
push 0xa
pop ecx
idiv ecx
mov ecx, dword [esp + 0x10]
imul eax, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
imul ecx, edx
shl eax, 6
add eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx - 0x70]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
push ebx
xor edi, edi
lea esi, [esp + 0x90]
call fcn.004060c4
xor eax, eax
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.00412716
mov esp, ebp
pop ebp
ret 4