Function at 0x4150c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x90
mov eax, dword [0x47cbc0]
xor eax, esp
mov dword [esp + 0x88], eax
cmp dword [ebx + 8], 0
push ebp
push esi
push edi
mov esi, ecx
je 0x4150e6
mov edi, ebx
call fcn.00415430
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
movzx edx, ax
push 5
push edx
push esi
mov dword [ebx + 4], esi
mov dword [ebx], eax
mov dword [ebx + 8], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea esi, [esp + 0x2c]
mov ebp, eax
call fcn.00414fa0
mov eax, dword [esp + 0x2c]
test eax, eax
jl 0x415132
cmp eax, 0x7fff
jle 0x41513d
neg eax
and eax, 0xffff
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
fmul qword [esp + 0xa8]
push eax
push 0
push 0
fdiv qword [0x46dad8]
push 0
push 0
push 1
push 0
push 0
push ecx
push edx
push 0
push 0
push 0
lea esi, [ebx + 0xc]
fadd qword [0x46dad0]
call fcn.00444f40
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov dword [esi], eax
mov eax, dword [ebx + 8]
push 0x31
push eax
call edi
mov ecx, dword [esi]
mov edx, dword [ebx + 8]
push 1
push ecx
push 0x30
push edx
mov dword [ebx + 0x10], eax
call edi
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x10], eax
mov eax, esi
lea edi, [esp + 0x14]
lea esi, [esp + 0x10]
call fcn.00414f30
mov eax, dword [ebx + 8]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
fild dword [esp + 0x14]
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x1c]
fstp qword [esp + 0x40]
push ecx
fild dword [esp + 0x1c]
push edx
fstp qword [esp + 0x50]
call dword [sym.imp.USER32.dll_GetClientRect]
movsx eax, word [ebp + 0x16]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [esp + 0x40]
fmul qword [0x46dac8]
fld qword [0x46dad0]
fadd st(1), st(0)
fxch st(1)
call fcn.00444f40
add eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
movsx ecx, word [ebp + 0x18]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul qword [esp + 0x48]
fmul qword [0x46dac0]
faddp st(1)
call fcn.00444f40
add eax, dword [esp + 0x20]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 8]
push edx
push eax
call esi
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x24]
push ecx
push edx
call esi
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, ebp
call fcn.00414e30
mov esi, eax
mov eax, ebp
mov dword [esp + 0x10], 0
call fcn.00414e10
xor ecx, ecx
cmp cx, word [eax]
jae 0x41540d
mov edi, dword [esp + 0x14]
lea ecx, [ecx]
cmp dword [esp + 0x10], 0
jne 0x4152df
mov edx, dword [ebx + 8]
push 5
push edx
jmp 0x4152e2
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x41540d
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, dword [esi + 0x14]
je 0x415312
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x4152f2
jmp 0x41540d
test edi, edi
je 0x41540d
movsx eax, word [esi + 0x12]
mov dword [esp + 0x14], eax
push 1
fild dword [esp + 0x18]
fld qword [esp + 0x4c]
fmul st(1), st(0)
fld qword [0x46dac0]
fmul st(2), st(0)
fld qword [0x46dad0]
fadd st(3), st(0)
fxch st(3)
call fcn.00444f40
movsx ecx, word [esi + 0x10]
mov dword [esp + 0x18], ecx
push eax
fild dword [esp + 0x1c]
fld qword [esp + 0x48]
fmul st(1), st(0)
fld qword [0x46dac8]
fmul st(2), st(0)
fxch st(2)
fadd st(5)
call fcn.00444f40
movsx edx, word [esi + 0xe]
mov dword [esp + 0x1c], edx
push eax
fild dword [esp + 0x20]
fmulp st(4)
fxch st(3)
fmulp st(2)
fxch st(1)
fadd st(3)
call fcn.00444f40
push eax
movsx eax, word [esi + 0xc]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmulp st(2)
fmulp st(1)
faddp st(1)
call fcn.00444f40
push eax
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebx + 0xc]
push 1
push ecx
push 0x30
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0x18]
mov edx, 0xffff
cmp word [eax], dx
jne 0x4153c6
add eax, 4
jmp 0x4153d1
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4153c6
cmp word [eax], dx
jne 0x4153e0
add eax, 4
jmp 0x4153eb
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4153e0
movzx edx, word [eax]
inc dword [esp + 0x10]
lea esi, [edx + eax + 5]
mov eax, ebp
and esi, 0xfffffffc
call fcn.00414e10
movzx eax, word [eax]
cmp dword [esp + 0x10], eax
jl 0x4152d0
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0043f432
add esp, 0x90
ret 0x10