Function at 0x41bd20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x51c2f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x24], ebx
call fcn.004fa853
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x24], 1
mov edi, dword [esi - 4]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, edi
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x41bd95
push edi
lea ecx, [esp + 0x14]
call fcn.00401d10
mov esi, dword [esp + 0x10]
cmp dword [esi - 8], edi
jge 0x41bda4
push 0x80070057
call fcn.00401c90
push esi
mov dword [esi - 0xc], edi
push edi
mov byte [esi + 0x104], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41bdc0
sub eax, edx
js 0x41bd9a
cmp eax, dword [esi - 8]
jg 0x41bd9a
mov dword [esi - 0xc], eax
push 8
mov byte [eax + esi], bl
call fcn.004fa746
add esp, 4
cmp eax, ebx
je 0x41bdef
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x41bdf1
xor eax, eax
mov dword [ebp + 0x70], eax
push str.imglogindlgleftTop.bmp
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00401450
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.0040f190
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41be3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 0x70]
push ebp
call fcn.00498280
push 8
call fcn.004fa746
add esp, 4
cmp eax, ebx
je 0x41be63
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x41be65
xor eax, eax
push 8
mov dword [ebp + 0x74], eax
call fcn.004fa746
add esp, 4
cmp eax, ebx
je 0x41be81
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x41be83
xor eax, eax
push 8
mov dword [ebp + 0x78], eax
call fcn.004fa746
add esp, 4
cmp eax, ebx
je 0x41be9f
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x41bea1
xor eax, eax
push 8
mov dword [ebp + 0x7c], eax
call fcn.004fa746
add esp, 4
cmp eax, ebx
je 0x41bebd
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x41bebf
xor eax, eax
push 8
mov dword [ebp + 0x80], eax
call fcn.004fa746
add esp, 4
cmp eax, ebx
je 0x41bede
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x41bee0
xor eax, eax
push 8
mov dword [ebp + 0x84], eax
call fcn.004fa746
add esp, 4
cmp eax, ebx
je 0x41beff
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x41bf01
xor eax, eax
push 8
mov dword [ebp + 0x88], eax
call fcn.004fa746
add esp, 4
cmp eax, ebx
je 0x41bf20
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x41bf22
xor eax, eax
push 8
mov dword [ebp + 0x8c], eax
call fcn.004fa746
add esp, 4
cmp eax, ebx
je 0x41bf41
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x41bf43
xor eax, eax
mov dword [ebp + 0x90], eax
lea eax, [esi - 0x10]
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bf67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bf8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret