Function at 0x403850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x426726
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push edi
xor ebx, ebx
push 0x64
push ebx
call ebp
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
cmp eax, ebx
je 0x403895
push str.Please_wait_...
push eax
call fcn.0040c600
add esp, 8
lea ecx, [esp + 0x40]
call fcn.00408060
lea ecx, [esp + 0x64]
mov dword [esp + 0x98], ebx
call fcn.00402db0
lea ecx, [esp + 0x64]
lea eax, [esp + 0x40]
mov dword [0x432f5c], ecx
push 0xffffffffffffffff
push str.serial
lea ecx, [esp + 0x38]
mov byte [esp + 0xa0], 1
mov dword [0x432f58], eax
mov dword [esp + 0x18], ebx
call fcn.00402390
mov edi, 0x428230
mov dword [esp + 0x30], edi
lea edx, [esp + 0x30]
push 1
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa4], 2
call fcn.00402d80
mov esi, eax
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x9c], 3
call dword [edx + 4]
mov esi, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x42f33c
push esi
call fcn.0040d7be
mov esi, 0x428228
add esp, 0xc
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 4
call fcn.0040b850
mov dword [esp + 0x20], 0x428238
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 5
call fcn.0040b850
mov al, byte [0x42f32c]
mov byte [esp + 0x98], 1
cmp al, bl
je 0x403baa
mov edx, dword [esp + 0x10]
push edx
call fcn.0040a3d0
add esp, 4
test eax, eax
jne 0x403baa
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x38]
call fcn.00402390
mov dword [esp + 0x30], edi
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 6
call dword [0x428234]
push ebx
call ebp
mov esi, eax
push 6
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, ebx
je 0x403a47
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
shr ebp, 1
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.00404520
mov byte [esp + 0x98], 7
xor esi, esi
mov edi, 9
push ebx
push esi
lea ecx, [esp + 0x1c]
call fcn.00404540
and eax, 0xffff
dec edi
lea esi, [esi + eax + 1]
jne 0x4039fd
mov eax, esi
push ebx
push eax
lea ecx, [esp + 0x1c]
inc esi
call fcn.00404540
and eax, 0xffff
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + esi*2]
push ecx
lea ecx, [esp + 0x38]
call fcn.004027e0
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov byte [esp + 0x98], 6
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x28]
call fcn.00402390
mov dword [esp + 0x20], 0x428230
push ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x9c], 8
call dword [0x428234]
push ebx
call ebp
mov edi, eax
push 6
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
cmp ebp, ebx
je 0x403b09
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebp
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
shr esi, 1
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00404520
mov byte [esp + 0x98], 9
xor esi, esi
mov edi, 0xa
push ebx
push esi
lea ecx, [esp + 0x1c]
call fcn.00404540
and eax, 0xffff
dec edi
lea esi, [esi + eax + 1]
jne 0x403abd
mov eax, esi
push ebx
push eax
lea ecx, [esp + 0x1c]
inc esi
call fcn.00404540
mov edx, dword [esp + 0x18]
and eax, 0xffff
push eax
lea ecx, [esp + 0x24]
lea eax, [edx + esi*2]
push eax
call fcn.004027e0
mov byte [esp + 0x98], 8
mov dword [esp + 0x14], 0x428260
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x24]
call dword [edx + 4]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
call dword [edx + 4]
mov eax, dword [esp + 0x34]
mov ecx, dword [0x432f84]
push 0x30
push esi
push eax
call fcn.0040c6b0
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x432f84]
push 0x64
call fcn.0040c690
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 6
call fcn.00402270
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 1
call fcn.00402270
lea ecx, [esp + 0x64]
mov byte [esp + 0x98], 0xb
call fcn.00402ef0
lea ecx, [esp + 0x74]
mov byte [esp + 0x98], 0xa
call fcn.00402270
lea ecx, [esp + 0x64]
mov byte [esp + 0x98], bl
call fcn.00402570
jmp 0x403bec
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
add ecx, 4
push ebx
dec edx
push ecx
push edx
call fcn.00403c80
add esp, 0xc
lea ecx, [esp + 0x64]
call fcn.00402ef0
lea ecx, [esp + 0x64]
mov dword [0x432f58], ebx
mov dword [0x432f5c], ebx
mov byte [esp + 0x98], bl
call fcn.004049c0
lea ecx, [esp + 0x40]
mov dword [esp + 0x98], 0xffffffff
call fcn.00403c20
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret