Function at 0x44f320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x521f96
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], fcn.004fdc99
mov dword [esp + 0x2c], fcn.004fca61
mov dword [esp + 0x30], fcn.004fdda1
mov edx, dword [ebp + 0xc]
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 8]
add edx, 0xfffffffa
push edx
add ecx, 0xa
push 0x20
mov dword [esp + 0x1a0], edi
call fcn.0044df80
mov ebx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
jle 0x44f68c
lea ebx, [ebx]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], fcn.004fdc99
mov dword [esp + 0x48], fcn.004fca61
mov dword [esp + 0x4c], fcn.004fdda1
mov byte [esp + 0x190], 1
mov ecx, dword [ebx + eax*4]
mov eax, ecx
lea edx, [eax + 2]
jmp 0x44f410
mov si, word [eax]
add eax, 2
cmp si, di
jne 0x44f410
sub eax, edx
push 1
lea edx, [esp + 0x38]
push edx
sar eax, 1
push eax
push 0x3d
call fcn.0044df80
mov ebx, dword [esp + 0x34]
mov esi, dword [ebx]
mov ecx, 0x5558d4
mov eax, esi
jmp 0x44f440
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44f466
cmp dx, di
je 0x44f462
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44f466
add eax, 4
add ecx, 4
cmp dx, di
jne 0x44f440
xor eax, eax
jmp 0x44f46b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x44f515
mov esi, dword [ebx + 4]
mov ecx, str.right
mov eax, esi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44f4a6
cmp dx, di
je 0x44f4a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44f4a6
add eax, 4
add ecx, 4
cmp dx, di
jne 0x44f480
xor eax, eax
jmp 0x44f4ab
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x44f4bf
mov eax, dword [esp + 0x10]
mov dword [eax + 0x10], 2
jmp 0x44f63a
mov ecx, str.center
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44f4fd
cmp dx, di
je 0x44f4e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44f4fd
add eax, 4
add ecx, 4
cmp dx, di
jne 0x44f4c6
mov edx, dword [esp + 0x10]
xor ecx, ecx
xor eax, eax
cmp eax, edi
sete cl
mov dword [edx + 0x10], ecx
jmp 0x44f63a
mov edx, dword [esp + 0x10]
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [edx + 0x10], ecx
jmp 0x44f63a
mov ecx, 0x555924
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44f546
cmp dx, di
je 0x44f542
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44f546
add eax, 4
add ecx, 4
cmp dx, di
jne 0x44f520
xor eax, eax
jmp 0x44f54b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x44f57e
mov edx, dword [ebx + 4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44f557
mov ebx, dword [esp + 0x10]
sub eax, esi
sar eax, 1
add edx, 2
add eax, 0xfffffffe
push edx
add ebx, 0x20
call fcn.0046a850
jmp 0x44f638
mov ecx, str.type
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44f5ab
cmp dx, di
je 0x44f5a7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44f5ab
add eax, 4
add ecx, 4
cmp dx, di
jne 0x44f585
xor eax, eax
jmp 0x44f5b0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x44f63a
lea ecx, [esp + 0x54]
call fcn.0046a650
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 4]
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44f5d0
sub eax, esi
sar eax, 1
push edx
lea ebx, [esp + 0x58]
call fcn.0046a850
cmp byte [esp + 0x170], 0
lea eax, [esp + 0x60]
jne 0x44f5fb
mov eax, dword [esp + 0x5c]
add eax, 4
push eax
call fcn.004fe07a
mov ecx, dword [esp + 0x14]
add esp, 4
cmp byte [esp + 0x170], 0
mov dword [ecx + 0x15c], eax
mov dword [esp + 0x54], vtable.t_str.0
jne 0x44f638
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x60]
cmp eax, edx
je 0x44f638
push eax
call fcn.004fdda1
add esp, 4
xor edi, edi
mov ebx, dword [esp + 0x38]
xor esi, esi
cmp ebx, edi
jle 0x44f65f
mov eax, dword [esp + 0x34]
mov eax, dword [eax + esi*4]
cmp eax, edi
je 0x44f658
push eax
call fcn.004ff376
add esp, 4
add esi, 1
cmp esi, ebx
jl 0x44f644
mov ecx, dword [esp + 0x34]
push ecx
call dword [esp + 0x50]
mov eax, dword [esp + 0x18]
add eax, 1
mov byte [esp + 0x194], 0
mov ebx, dword [esp + 0x1c]
add esp, 4
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jl 0x44f3d0
xor esi, esi
cmp dword [esp + 0x1c], edi
jle 0x44f6ad
mov eax, dword [ebx + esi*4]
cmp eax, edi
je 0x44f6a4
push eax
call fcn.004ff376
add esp, 4
add esi, 1
cmp esi, dword [esp + 0x1c]
jl 0x44f694
cmp ebx, edi
je 0x44f6bd
push ebx
call dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x24], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x44f759
mov eax, edx
cmp byte [eax + 0x13c], 0
lea esi, [eax + 0x2c]
jne 0x44f6e3
mov esi, dword [eax + 0x28]
mov ebx, dword [esp + 0x50]
call fcn.0043d900
test ebx, ebx
jne 0x44f6f6
mov ebx, dword [eax]
test ebx, ebx
je 0x44f759
push 0xa
add esi, 4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x44f759
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44f759
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test esi, esi
je 0x44f759
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], esi
lea esi, [edi + 0x144]
lea edx, [esp + 0x34]
mov dword [esp + 0x38], eax
mov byte [esp + 0x40], 0
call fcn.00447ff0
test al, al
je 0x44f759
mov byte [edi + 0x158], 1
mov dword [esp + 0x190], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44f774
push eax
call dword [esp + 0x34]
add esp, 4
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.004fe05a
mov esp, ebp
pop ebp
ret 0xc