Function at 0x48d1a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5960eb
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x60b4e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x38], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x5c], ebx
call fcn.0048ba90
mov eax, dword [esi + 0x74]
cmp dword [eax + 0xc8], 0
je 0x48dbd4
test ebx, ebx
je 0x48dbd4
cmp dword [ebx + 0x20], 0
je 0x48dbd4
mov ecx, esi
call fcn.0048ba50
mov ecx, eax
call fcn.004ca830
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esi + 0x44], eax
mov eax, dword [esi]
push ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], 0
call dword [eax + 0x94]
cmp dword [esi + 0x34], 0
jne 0x48d244
mov dword [esi + 0x40], 0
jmp 0x48dbd4
mov ecx, esi
call fcn.0048b9b0
mov edi, eax
lea ecx, [ebp - 0x7c]
push ebx
mov dword [ebp - 0x60], edi
call fcn.005323df
lea ecx, [edi + 0xbc]
mov dword [ebp - 4], 0
push ecx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00484ad0
mov eax, dword [esi + 0x34]
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], eax
lea ecx, [eax - 1]
mov dword [ebp - 0x28], ecx
test ecx, ecx
js 0x48d3d6
mov edi, edi
test ecx, ecx
js 0x48dbfc
cmp ecx, dword [esi + 0x34]
jge 0x48dbfc
mov eax, dword [esi + 0x30]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi + 0x80]
mov ecx, dword [eax - 0xc]
xor eax, eax
test ecx, ecx
setne al
mov dword [edi + 0xa8], eax
test ecx, ecx
jne 0x48d3c1
mov edx, dword [edi + 0x84]
lea ebx, [edi + 0x84]
mov esi, dword [edx - 0xc]
test esi, esi
jne 0x48d2fd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
mov esi, dword [ebp - 0x38]
push 1
push dword [ebp - 0x28]
lea ecx, [esi + 0x2c]
call fcn.00489190
jmp 0x48d3c1
js 0x48dbf2
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x48d31e
push esi
mov ecx, ebx
call fcn.00405195
mov edx, dword [ebx]
lea eax, [esi + 1]
push eax
push edx
call fcn.00577bb1
mov eax, dword [ebx]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x48dbf2
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + esi*2], cx
push dword [ebx]
call fcn.0049d2e0
mov ecx, dword [edi + 0x88]
lea edx, [edi + 0x88]
add esp, 4
cmp dword [ecx - 0xc], 0
jne 0x48d3b2
add eax, 1
js 0x48dbf2
mov ecx, dword [ebx]
cmp eax, dword [ecx - 0xc]
jg 0x48dbf2
movzx eax, word [ecx + eax*2]
lea edx, [ebp - 0x54]
mov word [ebp - 0x54], ax
lea ecx, [edx + 2]
xor eax, eax
mov word [ebp - 0x52], ax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x48d385
sub edx, ecx
lea eax, [ebp - 0x54]
sar edx, 1
lea ecx, [edi + 0x80]
push edx
push eax
call fcn.004052ca
call fcn.004b95f0
mov ecx, eax
call fcn.0047e4b0
jmp 0x48d3be
push edx
lea ecx, [edi + 0x80]
call fcn.00446790
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
sub ecx, 1
mov dword [ebp - 0x28], ecx
jns 0x48d290
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x40], eax
xor ecx, ecx
mov dword [ebp - 0x30], ecx
test eax, eax
jle 0x48d9ba
mov dword [ebp - 0x58], 2
mov ebx, 0x5b4bc8
test ecx, ecx
js 0x48dbfc
cmp ecx, dword [esi + 0x34]
jge 0x48dbfc
mov eax, dword [esi + 0x30]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x80]
sub eax, 0x10
push eax
call fcn.00405aab
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x64], edi
lea ecx, [ebp - 0x24]
call fcn.00489730
push esi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00478090
call fcn.00526109
test eax, eax
je 0x48dc01
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 4
test ebx, 0xffff0000
jne 0x48d557
movzx ebx, bx
push ebx
mov dword [ebp - 0x44], ebx
call fcn.00525fba
mov dword [ebp - 0x28], eax
test eax, eax
je 0x48d569
mov ecx, ebx
shr ecx, 4
push 6
inc ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x48d569
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48d569
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x48d569
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x44]
lea edx, [eax + ebx]
and ecx, 0xf
jbe 0x48d4e6
lea esp, [esp]
cmp ebx, edx
jae 0x48d569
movzx eax, word [ebx]
lea ebx, [ebx + eax*2]
add ebx, 2
sub ecx, 1
jne 0x48d4d0
cmp ebx, edx
jae 0x48d569
movzx eax, word [ebx]
test ax, ax
je 0x48d569
mov edx, eax
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
mov dword [ebp - 0x28], edx
movzx edx, word [ebx]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x28]
jge 0x48d525
push edx
lea ecx, [ebp - 0x34]
call fcn.00405195
movzx eax, word [ebx]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
jmp 0x48d528
mov eax, dword [ebp - 0x2c]
movzx ecx, ax
lea eax, [ebx + 2]
push ecx
push eax
push edx
push esi
call fcn.005651ab
push eax
call fcn.00404b42
mov eax, dword [ebp - 0x28]
add esp, 0x14
cmp eax, dword [esi - 8]
jg 0x48dbf2
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x48d569
push 2
push 0x5b4bc8
lea ecx, [ebp - 0x34]
call fcn.004052ca
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x30]
inc ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], ebx
cmp ebx, dword [ebp - 0x40]
jge 0x48d649
test ebx, ebx
js 0x48dbfc
mov eax, dword [ebp - 0x38]
cmp ebx, dword [eax + 0x34]
jge 0x48dbfc
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + ebx*4]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx + 0x80]
cmp dword [eax - 0xc], 0
jl 0x48dbf2
cmp dword [edi - 0xc], 0
movzx edx, word [eax]
jl 0x48dbf2
movzx eax, word [edi]
cmp dx, ax
jne 0x48d63c
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
call fcn.00478090
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x80]
mov eax, dword [ecx - 0xc]
cmp eax, 2
jne 0x48d63c
cmp eax, 1
jl 0x48dbf2
movzx eax, word [ecx + 2]
mov dword [ebp - 0x44], eax
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x2c], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x48dbf2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x48d61d
push ebx
lea ecx, [ebp - 0x34]
call fcn.00405195
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x44]
mov word [esi + eax*2], cx
cmp ebx, dword [esi - 8]
jg 0x48dbf2
mov dword [esi - 0xc], ebx
xor eax, eax
mov word [esi + ebx*2], ax
mov ebx, dword [ebp - 0x28]
inc ebx
mov dword [ebp - 0x28], ebx
cmp ebx, dword [ebp - 0x40]
jl 0x48d580
mov ecx, dword [ebp - 0x1c]
cmp ecx, 2
jl 0x48d96b
xor eax, eax
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x2c], eax
test ecx, ecx
jle 0x48d96b
lea esp, [esp]
test eax, eax
js 0x48dbfc
cmp eax, ecx
jge 0x48dbfc
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov dword [ebp - 0x50], ecx
lea eax, [ecx + 0x80]
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
cmp dword [eax - 0xc], 1
jg 0x48d959
mov ecx, dword [ecx + 0x84]
xor ebx, ebx
mov eax, dword [ecx - 0xc]
dec eax
test eax, eax
jle 0x48d78a
test ebx, ebx
js 0x48dbf2
mov edx, dword [ecx - 0xc]
cmp ebx, edx
jg 0x48dbf2
cmp word [ecx + ebx*2], 0x20
jne 0x48d701
lea eax, [ebx + 1]
test eax, eax
js 0x48dbf2
cmp ebx, edx
jge 0x48dbf2
cmp dword [esi - 0xc], 0
movzx eax, word [ecx + ebx*2 + 2]
jle 0x48d715
push eax
push esi
call fcn.0055e2d3
add esp, 8
test eax, eax
je 0x48d715
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x48d715
mov eax, dword [ebp - 0x50]
inc ebx
mov ecx, dword [eax + 0x84]
mov eax, dword [ecx - 0xc]
dec eax
cmp ebx, eax
jl 0x48d6b2
jmp 0x48d78a
add ebx, 1
js 0x48dbf2
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x84]
cmp ebx, dword [eax - 0xc]
jg 0x48dbf2
movzx edx, word [eax + ebx*2]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x48], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x48dbf2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x48d768
push ebx
lea ecx, [ebp - 0x34]
call fcn.00405195
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
mov word [esi + eax*2], dx
cmp ebx, dword [esi - 8]
jg 0x48dbf2
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
test dx, dx
jne 0x48d901
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x84]
mov edx, dword [ecx - 0xc]
test edx, edx
js 0x48dbf2
movzx eax, word [ecx]
xor ebx, ebx
cmp eax, 0x26
mov dword [ebp - 0x48], eax
sete bl
cmp ebx, edx
jg 0x48dbf2
xor eax, eax
cmp word [ebp - 0x48], 0x26
cmove eax, dword [ebp - 0x58]
movzx eax, word [eax + ecx]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x48dbf2
movzx eax, word [eax]
cmp word [ebp - 0x48], ax
jne 0x48d7e8
xor ebx, ebx
cmp word [ecx], 0x26
sete bl
inc ebx
cmp ebx, edx
jge 0x48d89b
test ebx, ebx
js 0x48dbf2
cmp ebx, dword [ecx - 0xc]
jg 0x48dbf2
cmp dword [esi - 0xc], 0
movzx eax, word [ecx + ebx*2]
jle 0x48d833
push eax
push esi
call fcn.0055e2d3
add esp, 8
test eax, eax
je 0x48d833
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x48d833
mov eax, dword [ebp - 0x50]
inc ebx
mov ecx, dword [eax + 0x84]
cmp ebx, dword [ecx - 0xc]
jl 0x48d7f0
jmp 0x48d89b
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x84]
cmp ebx, dword [eax - 0xc]
jg 0x48dbf2
movzx edx, word [eax + ebx*2]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x48], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x48dbf2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x48d87d
push ebx
lea ecx, [ebp - 0x34]
call fcn.00405195
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
mov word [esi + eax*2], dx
cmp ebx, dword [esi - 8]
jg 0x48dbf2
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
test dx, dx
jne 0x48d901
call fcn.00526109
mov ecx, eax
test ecx, ecx
je 0x48dc01
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
push ebx
push 0x5b4bd0
push eax
mov byte [ebp - 4], 6
call fcn.00404dfe
mov eax, dword [ebp - 0x3c]
add esp, 0xc
cmp dword [eax - 0xc], 0
jl 0x48dbf2
movzx ecx, word [eax]
lea edx, [eax - 0x10]
inc ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x44], ebx
or eax, 0xffffffff
mov byte [ebp - 4], 5
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48d901
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x48], eax
lea ebx, [eax + 1]
test ebx, ebx
js 0x48dbf2
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x48d936
mov ecx, dword [ebp - 0x28]
push ebx
call fcn.00405195
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
mov word [edx + ecx*2], ax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
cmp ebx, dword [eax - 8]
jg 0x48dbf2
mov dword [eax - 0xc], ebx
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax + ebx*2], cx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ecx
jl 0x48d670
or eax, 0xffffffff
mov byte [ebp - 4], 3
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48d987
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.00489e30
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x48d9ab
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x40]
jl 0x48d3ea
mov ecx, esi
call fcn.0048bce0
xor ebx, ebx
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x40], ebx
jle 0x48db84
nop
test ebx, ebx
js 0x48dbfc
cmp ebx, dword [esi + 0x34]
jge 0x48dbfc
mov eax, dword [esi + 0x30]
mov edi, dword [eax + ebx*4]
cmp dword [edi + 0x9c], 0
je 0x48db7a
mov eax, dword [edi + 0x80]
lea ecx, [ebp - 0x4c]
push ecx
push dword [eax - 0xc]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 0x48]
mov esi, 0xf
add eax, 2
mov ecx, 0x10
cmp eax, esi
cmovg esi, eax
mov eax, dword [ebp - 0x4c]
add eax, 6
mov dword [ebp - 0x2c], esi
cmp eax, ecx
cmovg ecx, eax
mov eax, dword [edi + 0x90]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x94]
mov dword [ebp - 0x64], eax
push dword [edi + 0x8c]
mov dword [ebp - 0x30], ecx
push 0x5cc694
call fcn.00537705
add esp, 8
test eax, eax
jne 0x48da6a
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x5c]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [edi + 0xa4]
test cl, 4
je 0x48da80
mov eax, esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x48da8c
test cl, 8
mov esi, 0
cmovne esi, dword [ebp - 0x2c]
test cl, 1
je 0x48da9d
mov eax, dword [ebp - 0x30]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jmp 0x48daaf
cmp dword [ebp - 0x58], 0
jne 0x48daac
test cl, 2
jne 0x48daac
xor ecx, ecx
jmp 0x48daaf
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x68]
sub eax, ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
sub ecx, esi
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0xec], 0
je 0x48dae9
cmp dword [edi + 0x98], 0
mov dword [ebp - 0x30], 1
je 0x48daf0
mov dword [ebp - 0x30], 0
mov esi, dword [edi]
lea eax, [ebp - 0x20]
push 0
push 0
push dword [ebp - 0x5c]
push eax
push SysReAllocString
push 0
push 0
push 0
push 0
push 0x800
call fcn.00527459
push eax
mov eax, dword [ebp - 0x30]
mov ecx, edi
shl eax, 0x13
or eax, 0x80
push eax
call dword [esi + 0x58]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0x210
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push 0x615858
mov ecx, edi
call fcn.0052e058
mov esi, dword [ebp - 0x60]
mov ecx, esi
push 1
push edi
push 0
mov eax, dword [esi]
call dword [eax + 0x13c]
cmp dword [ebp - 0x30], 0
je 0x48db77
mov eax, dword [esi + 0xec]
push 2
push 0x96
push 0
push dword [edi + 0x20]
call eax
mov esi, dword [ebp - 0x38]
inc ebx
cmp ebx, dword [ebp - 0x40]
jl 0x48d9d0
mov ebx, dword [ebp - 0x40]
xor esi, esi
test ebx, ebx
jle 0x48dbc1
mov edi, dword [ebp - 0x38]
test esi, esi
js 0x48dbfc
cmp esi, dword [edi + 0x34]
jge 0x48dbfc
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0x9c], 0
je 0x48dbbc
push 0x257
push 0
push 0
push 0
push 0
push 0
call fcn.0052e058
inc esi
cmp esi, ebx
jl 0x48db90
lea ecx, [ebp - 0x8c]
call fcn.00484e70
lea ecx, [ebp - 0x7c]
call fcn.005324f2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055a658
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00404c28
call fcn.00525b88
push 0x80004005
call fcn.00404c28
int3