Function at 0x425770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x49bfb2
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, 0x10b4
call fcn.00480840
mov eax, dword [0x4c2c40]
xor eax, esp
mov dword [esp + 0x10b0], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2c40]
xor eax, esp
push eax
lea eax, [esp + 0x10f8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x44], esi
call fcn.0045acd4
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
call edi
push 0x21
mov dword [esp + 0x54], eax
call edi
push 0x21
mov dword [esp + 0x4c], eax
call edi
push 4
mov ebx, eax
call edi
mov ecx, dword [esp + 0x48]
add ebx, eax
mov eax, dword [esp + 0x50]
push 1
lea ebx, [ebx + ecx + 0x231]
push ebx
lea eax, [eax + eax + 0x320]
push eax
push 0
push 0
mov ecx, esi
call fcn.004607d0
push 0
mov ecx, esi
call fcn.0045d325
push 5
push 0x1f41
push 0
mov byte [esp + 0x4f], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
jne 0x42583b
mov byte [esp + 0x43], al
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42584c
mov byte [esp + 0x43], al
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x50], eax
je 0x42588d
cmp byte [esp + 0x43], 0
je 0x42588d
push 0x4abe30
push 0x1b59
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42588d
lea edx, [esi + 0x78]
push edx
call fcn.0042d6d0
add esp, 4
push 0x1772
mov ecx, esi
lea ebx, [esi + 0x194]
call fcn.00460672
test ebx, ebx
jne 0x4258a7
xor ecx, ecx
jmp 0x4258aa
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ecx
push 0x30
push eax
call edi
push 0x1772
mov ecx, esi
call fcn.00460672
push 1
push 0x1a
push 0x2f8
push 0x11
push 0x12
mov ecx, eax
call fcn.004607d0
push 0x1775
mov ecx, esi
call fcn.00460672
test ebx, ebx
jne 0x4258ef
xor ecx, ecx
jmp 0x4258f2
mov ecx, dword [ebx + 4]
push 1
push ecx
mov ecx, dword [eax + 0x20]
push 0x30
push ecx
call edi
push 0x1775
mov ecx, esi
call fcn.00460672
push 1
push 0x24
push 0x2e4
push 0x30
push 0x1c
mov ecx, eax
call fcn.004607d0
push 0x1771
mov ecx, esi
call fcn.00460672
test ebx, ebx
jne 0x425931
xor ecx, ecx
jmp 0x425934
mov ecx, dword [ebx + 4]
mov edx, dword [eax + 0x20]
push 1
push ecx
push 0x30
push edx
call edi
push 0x1771
mov ecx, esi
call fcn.00460672
push 1
push 0x15f
push 0x1d8
push 0x59
push 0x1c
mov ecx, eax
call fcn.004607d0
push 0x1773
mov ecx, esi
call fcn.00460672
test ebx, ebx
jne 0x425976
xor ecx, ecx
jmp 0x425979
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 0x20]
push 1
push ecx
push 0x30
push eax
call edi
push 0x1773
mov ecx, esi
call fcn.00460672
push 1
push 0x14
push 0x2f8
push 0x1c8
push 0x12
mov ecx, eax
call fcn.004607d0
push 0x1774
mov ecx, esi
call fcn.00460672
test ebx, ebx
jne 0x4259bb
xor ecx, ecx
jmp 0x4259be
mov ecx, dword [ebx + 4]
push 1
push ecx
mov ecx, dword [eax + 0x20]
push 0x30
push ecx
call edi
push 0x1774
mov ecx, esi
call fcn.00460672
push 1
push 0x14
push 0x2f8
push 0x1dc
push 0x12
mov ecx, eax
call fcn.004607d0
test ebx, ebx
jne 0x4259f4
xor eax, eax
jmp 0x4259f7
mov eax, dword [ebx + 4]
mov edx, dword [esi + 0xdc]
push 1
push eax
push 0x30
push edx
call edi
push 1
push 0x1e
push 0x97
push 0x206
lea ecx, [esi + 0xbc]
push 0x268
call fcn.004607d0
mov ecx, 0x138e
lea edx, [esp + 0x54]
call fcn.00432a50
mov dword [esp + 0x1100], 0
cmp dword [eax + 0x18], 8
jb 0x425a47
mov eax, dword [eax + 4]
jmp 0x425a4a
add eax, 4
push eax
lea ecx, [esi + 0xbc]
call fcn.00460774
mov dword [esp + 0x1100], 0xffffffff
cmp dword [esp + 0x6c], 8
jb 0x425a75
mov eax, dword [esp + 0x58]
push eax
call fcn.0045a870
add esp, 4
test ebx, ebx
jne 0x425a7d
xor eax, eax
jmp 0x425a80
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 0x130]
push 1
push eax
push 0x30
push ecx
call edi
push 1
push 0x1e
push 0x97
push 0x206
lea ecx, [esi + 0x110]
push 0x1c4
call fcn.004607d0
mov ecx, 0x138d
lea edx, [esp + 0x54]
call fcn.00432a50
mov dword [esp + 0x1100], 1
cmp dword [eax + 0x18], 8
jb 0x425ad0
mov eax, dword [eax + 4]
jmp 0x425ad3
add eax, 4
push eax
lea ecx, [esi + 0x110]
call fcn.00460774
mov dword [esp + 0x1100], 0xffffffff
cmp dword [esp + 0x6c], 8
jb 0x425afe
mov edx, dword [esp + 0x58]
push edx
call fcn.0045a870
add esp, 4
test ebx, ebx
je 0x425b05
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 0x1bc]
push 1
push ebx
push 0x30
push eax
call edi
push 1
push 0x15f
push 0xf8
push 0x5a
lea edi, [esi + 0x19c]
push 0x1fc
mov ecx, edi
call fcn.004607d0
mov eax, dword [esi + 0xb0]
push eax
mov ecx, edi
call fcn.00460774
push 0x7ce
lea ecx, [esp + 0x122]
push 0
push ecx
mov word [esp + 0x128], 0
call fcn.0047dfc0
add esp, 0xc
mov ecx, 0x1389
lea edx, [esp + 0x54]
call fcn.00432a50
cmp dword [eax + 0x18], 8
jb 0x425b7b
mov eax, dword [eax + 4]
jmp 0x425b7e
add eax, 4
mov edx, dword [esi + 0x74]
push edx
push eax
lea edx, [esp + 0x124]
call fcn.00424440
mov edi, 8
add esp, 8
cmp dword [esp + 0x6c], edi
jb 0x425baa
mov eax, dword [esp + 0x58]
push eax
call fcn.0045a870
add esp, 4
mov ecx, 0x1389
lea edx, [esp + 0x54]
call fcn.00432a50
mov dword [esp + 0x1100], 2
cmp dword [eax + 0x18], edi
jb 0x425bcd
mov eax, dword [eax + 4]
jmp 0x425bd0
add eax, 4
push eax
mov ecx, esi
call fcn.00460774
mov dword [esp + 0x1100], 0xffffffff
cmp dword [esp + 0x6c], edi
jb 0x425bf6
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0045a870
add esp, 4
mov ecx, 0x138a
lea edx, [esp + 0x54]
call fcn.00432a50
mov dword [esp + 0x1100], 3
cmp dword [eax + 0x18], edi
jb 0x425c19
mov edi, dword [eax + 4]
jmp 0x425c1c
lea edi, [eax + 4]
test edi, edi
lea ebx, [esi + 0xa8]
jne 0x425c2a
xor eax, eax
jmp 0x425c3f
mov eax, edi
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x425c30
sub eax, ecx
sar eax, 1
push eax
push edi
mov ecx, ebx
call fcn.00424800
mov dword [esp + 0x1100], 0xffffffff
cmp dword [esp + 0x6c], 8
jb 0x425c67
mov edx, dword [esp + 0x58]
push edx
call fcn.0045a870
add esp, 4
push 0x7d0
xor edi, edi
lea eax, [esp + 0x120]
push edi
push eax
call fcn.0047dfc0
add esp, 0xc
mov ecx, 0x138f
lea edx, [esp + 0x54]
call fcn.00432a50
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x425c9c
mov eax, dword [eax + 4]
jmp 0x425c9f
add eax, 4
mov ecx, dword [esi + 0x74]
push ecx
push eax
lea edx, [esp + 0x124]
call fcn.00424440
add esp, 8
cmp dword [esp + 0x6c], ebx
jb 0x425cc6
mov edx, dword [esp + 0x58]
push edx
call fcn.0045a870
add esp, 4
lea eax, [esp + 0x11c]
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], edi
mov word [esp + 0xa4], di
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x425cf0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x120]
push eax
lea esi, [esp + 0xa8]
call fcn.00401c20
push 0x5c
push 0x2f
mov edi, esi
mov dword [esp + 0x1108], 4
call fcn.00404060
mov ecx, esi
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.0043fde0
add esp, 0x10
cmp dword [esp + 0x6c], ebx
jb 0x425d4d
mov eax, dword [esp + 0x58]
push eax
call fcn.0045a870
add esp, 4
push 0x4aaee0
mov ebx, 1
xor eax, eax
lea edx, [esp + 0xa4]
call fcn.0040e5d0
cmp eax, 0xffffffff
mov esi, dword [esp + 0x44]
jne 0x425e80
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00462db6
mov edx, dword [esi + 0x264]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push edx
mov edi, eax
call ebx
push eax
call fcn.00463067
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x48]
call fcn.00426690
mov eax, dword [esp + 0x44]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x48]
push edx
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425df2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi + 0x264]
lea ecx, [esp + 0x90]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x90]
push eax
mov ecx, esi
call fcn.00462b46
mov ecx, dword [esp + 0x98]
sub ecx, dword [esp + 0x90]
cmp ecx, dword [esp + 0x48]
jle 0x425e86
push 0x7d0
lea edx, [esp + 0x8f0]
push 0
push edx
call fcn.0047dfc0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 0xc
push 0x4aaee0
lea eax, [esp + 0x8f0]
push eax
call edi
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x8f0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x8ec]
push eax
lea ecx, [esp + 0x120]
push ecx
call edi
jmp 0x425e86
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x11c]
lea ecx, [esi + 0xac]
lea edi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x425e96
sub eax, edi
sar eax, 1
push eax
lea edx, [esp + 0x120]
push edx
call fcn.00424800
mov eax, dword [esi + 0x1bc]
push 0
push 0
push 0x31
push eax
call ebx
push eax
call fcn.00463067
mov edx, dword [eax + 4]
lea ecx, [esp + 0xbc]
push ecx
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0
mov dword [esp + 0xd0], 0x2bc
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push 0
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
fild dword [esp + 0x48]
sub esp, 8
fdivr qword [0x4ade68]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp qword [esp]
call fcn.0047bc00
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
add esp, 8
call fcn.00481200
mov dword [esp + 0xbc], eax
push 0
lea eax, [esp + 0xc0]
lea edi, [esi + 0x164]
push eax
mov ecx, edi
call fcn.00463572
test edi, edi
je 0x425f59
mov edi, dword [edi + 4]
mov ecx, dword [esi + 0x210]
push 1
push edi
push 0x30
push ecx
call ebx
mov ecx, 0x138b
lea edx, [esp + 0x54]
call fcn.00432a50
mov byte [esp + 0x1100], 5
cmp dword [eax + 0x18], 8
jb 0x425f88
mov ecx, dword [eax + 4]
jmp 0x425f8b
lea ecx, [eax + 4]
test ecx, ecx
jne 0x425f93
xor eax, eax
jmp 0x425faf
mov eax, ecx
lea edi, [eax + 2]
jmp 0x425fa0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x425fa0
sub eax, edi
sar eax, 1
push eax
push ecx
lea ecx, [esi + 0xb4]
call fcn.00424800
mov edi, 8
mov byte [esp + 0x1100], 4
cmp dword [esp + 0x6c], edi
jb 0x425fdc
mov edx, dword [esp + 0x58]
push edx
call fcn.0045a870
add esp, 4
push 0x7d0
lea eax, [esp + 0x120]
push 0
push eax
call fcn.0047dfc0
add esp, 0xc
mov ecx, 0x138c
lea edx, [esp + 0x54]
call fcn.00432a50
cmp dword [eax + 0x18], edi
jb 0x42600b
mov eax, dword [eax + 4]
jmp 0x42600e
add eax, 4
mov ecx, dword [esi + 0x74]
push ecx
push eax
lea edx, [esp + 0x124]
call fcn.00424440
add esp, 8
cmp dword [esp + 0x6c], edi
jb 0x426035
mov edx, dword [esp + 0x58]
push edx
call fcn.0045a870
add esp, 4
lea eax, [esp + 0x11c]
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x426040
sub eax, ecx
sar eax, 1
push eax
lea eax, [esp + 0x120]
push eax
lea ecx, [esi + 0xb8]
call fcn.00424800
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00462db6
mov edx, dword [esi + 0x1bc]
push 0
push 0
push 0x31
push edx
mov edi, eax
call ebx
push eax
call fcn.00463067
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
mov eax, dword [esi + 0xb0]
mov edx, dword [eax - 0xc]
lea ecx, [esp + 0x90]
push ecx
push edx
push eax
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esi + 0x1bc]
push 0
push 0
push 0xba
push ecx
call ebx
mov edi, eax
mov eax, dword [esi + 0x1bc]
imul edi, dword [esp + 0x94]
lea edx, [esp + 0x80]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x78], eax
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x8c]
mov eax, ecx
sub eax, edi
mov dword [esp + 0x74], edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
lea eax, [eax + edi]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x7c], eax
jns 0x426149
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esi + 0x1bc]
lea eax, [esp + 0x70]
push eax
push 0
push 0xb3
push ecx
call ebx
push 0
mov ecx, esi
call fcn.0045d29a
mov eax, dword [esp + 0x50]
test eax, eax
je 0x426176
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0xb8], 8
jb 0x426190
mov edx, dword [esp + 0xa4]
push edx
call fcn.0045a870
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x10f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10b0]
xor ecx, esp
call fcn.00478599
mov esp, ebp
pop ebp
ret