Function at 0x4a2760
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f6874
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xcc]
xor ebx, ebx
push 0xa8
mov dword [esp + 0x2c], ebx
call fcn.004c8f3d
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc4], ebx
cmp esi, ebx
je 0x4a2801
push esi
call fcn.0040f9b0
or byte [esi + 0x39], 1
mov dword [esi], vtable.NewSkinView::CNewSkinScrollView.0
mov dword [esi + 8], vtable.NewSkinView::CNewSkinScrollView.1.0
mov dword [esi + 0x94], 0xa
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa0], ebx
jmp 0x4a2803
xor esi, esi
mov eax, dword [esp + 0xd4]
or edi, 0xffffffff
mov dword [esp + 0xc4], edi
mov dword [ebp + 0xd4], esi
push 0x104
mov dword [esi + 0x94], 0x32
mov esi, dword [ebp + 0xd4]
push eax
mov eax, dword [esp + 0xd8]
lea ecx, [edi + 0xb]
call fcn.00410b30
push 0x98
call fcn.004c8f3d
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc4], 1
cmp esi, ebx
je 0x4a2880
push esi
call fcn.0040f9b0
or byte [esi + 0x38], 0x10
mov dword [esi + 0x94], ebx
mov dword [esi], vtable.WallPaperSkin::CNewSkinThemeScrollPort.0
mov dword [esi + 8], vtable.WallPaperSkin::CNewSkinThemeScrollPort.1.0
jmp 0x4a2882
xor esi, esi
mov dword [esp + 0xc4], edi
mov ecx, dword [ebp + 0xd4]
push esi
call fcn.0040f1c0
call fcn.004a0290
mov ecx, dword [eax + 0x1c]
sub ecx, dword [eax + 0x18]
add eax, 0xc
sar ecx, 2
mov dword [esp + 0x1c], ecx
call fcn.004811a0
lea ecx, [esp + 0x64]
mov byte [esp + 0x1b], al
call fcn.004812f0
mov edi, str._resdeftheme.data
lea ecx, [esp + 0x48]
mov dword [esp + 0xc4], 2
call fcn.0047fda0
mov byte [esp + 0xc4], 3
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x4a28ec
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a2ab6
push 0x170
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xc4], 4
test eax, eax
je 0x4a2926
push 1
push 0
push eax
xor ecx, ecx
call fcn.0049f2c0
jmp 0x4a2928
xor eax, eax
mov byte [esp + 0xc4], 3
mov dword [ebp + 0xe0], eax
mov ecx, dword [eax + 0x108]
test ecx, ecx
je 0x4a2958
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp + 0xe0]
mov dword [ecx + 0x108], 0
mov edx, dword [ebp + 0xd4]
mov esi, dword [ebp + 0xe0]
mov edi, dword [edx + 0x98]
call fcn.00410cb0
mov edx, dword [esp + 0x4c]
mov ebx, 8
cmp dword [esp + 0x60], ebx
jae 0x4a2982
lea edx, [esp + 0x4c]
mov esi, dword [ebp + 0xe0]
mov eax, edx
lea edi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a2990
sub eax, edi
sar eax, 1
push eax
push edx
add esi, 0x148
call fcn.00401760
mov edx, dword [ebp + 0xe0]
xor ecx, ecx
push ecx
mov eax, 0x4a32d0
push eax
push ebp
call fcn.00402400
mov eax, dword [esp + 0x58]
add esp, 0xc
cmp dword [esp + 0x60], ebx
jae 0x4a29d2
lea eax, [esp + 0x4c]
push eax
call fcn.00406840
mov edi, eax
add esp, 4
test edi, edi
je 0x4a29f3
lea eax, [edi + 4]
push eax
mov edx, str.logo.png
call fcn.00405f10
mov ebx, eax
jmp 0x4a29f5
xor ebx, ebx
mov esi, dword [ebp + 0xe0]
mov ecx, dword [esi + 0x100]
test ecx, ecx
je 0x4a2a0d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
mov dword [esi + 0x100], ebx
call eax
test edi, edi
je 0x4a2a32
lea eax, [edi + 4]
call fcn.00405ec0
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov ecx, dword [esp + 0x4c]
mov esi, 8
cmp dword [esp + 0x60], esi
jae 0x4a2a45
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x9c]
push edx
call fcn.004a3aa0
lea eax, [esp + 0x64]
lea ecx, [esp + 0x9c]
mov byte [esp + 0xc4], 5
call fcn.00409660
test eax, eax
jne 0x4a2a78
cmp byte [esp + 0x1b], al
jne 0x4a2a78
mov al, 1
jmp 0x4a2a7a
xor al, al
mov ecx, dword [ebp + 0xe0]
cmp byte [ecx + 0xe0], al
je 0x4a2a95
mov byte [ecx + 0xe0], al
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov byte [esp + 0xc4], 3
cmp dword [esp + 0xb4], esi
jb 0x4a2ab6
mov eax, dword [esp + 0xa0]
push eax
call fcn.004c8f17
add esp, 4
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
jle 0x4a2cae
lea esp, [esp]
call fcn.004a0290
mov edi, dword [esp + 0x24]
mov esi, eax
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
add esi, 0xc
sar ecx, 2
cmp edi, ecx
jb 0x4a2af0
call fcn.004c96d9
mov edx, dword [esi + 0xc]
mov edi, dword [edx + edi*4]
push 0x170
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xc4], 6
test eax, eax
je 0x4a2b22
push 0
push edi
push eax
xor ecx, ecx
call fcn.0049f2c0
mov ebx, eax
jmp 0x4a2b24
xor ebx, ebx
mov byte [esp + 0xc4], 3
mov ecx, dword [edi + 0x9c]
xor eax, eax
test ecx, ecx
setne al
mov byte [ebp + 0xdc], al
lea esi, [esp + 0x2c]
mov eax, edi
mov byte [edi + 0x98], 1
call fcn.004a0120
mov byte [esp + 0xc4], 7
or dword [esp + 0x28], 1
cmp dword [esp + 0x7c], 8
jb 0x4a2b6f
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x20], ecx
jmp 0x4a2b77
lea edx, [esp + 0x68]
mov dword [esp + 0x20], edx
mov esi, dword [eax + 0x14]
mov ecx, esi
cmp ecx, esi
jae 0x4a2b80
mov edi, dword [esp + 0x78]
mov edx, esi
cmp esi, edi
jb 0x4a2b8c
mov edx, edi
cmp dword [eax + 0x18], 8
jb 0x4a2b97
mov ecx, dword [eax + 4]
jmp 0x4a2b9a
lea ecx, [eax + 4]
mov eax, dword [esp + 0x20]
test edx, edx
jbe 0x4a2bcb
mov di, word [ecx]
cmp di, word [eax]
jne 0x4a2bb7
add ecx, 2
add eax, 2
sub edx, 1
jne 0x4a2ba2
jmp 0x4a2bc7
mov cx, word [ecx]
cmp cx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
jne 0x4a2bd6
mov edi, dword [esp + 0x78]
cmp esi, edi
jb 0x4a2be4
xor eax, eax
cmp esi, edi
setne al
test eax, eax
jne 0x4a2be4
cmp byte [esp + 0x1b], al
jne 0x4a2be4
mov al, 1
jmp 0x4a2be6
xor al, al
cmp byte [ebx + 0xe0], al
je 0x4a2bfd
mov edx, dword [ebx]
mov byte [ebx + 0xe0], al
mov eax, dword [edx + 0x18]
mov ecx, ebx
call eax
mov dword [esp + 0xc4], 3
test byte [esp + 0x28], 1
je 0x4a2c28
and dword [esp + 0x28], 0xfffffffe
cmp dword [esp + 0x44], 8
jb 0x4a2c28
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004c8f17
add esp, 4
mov edx, dword [ebp + 0xd4]
mov esi, dword [edx + 0x98]
cmp ebx, 0xffffffff
je 0x4a2c69
lea edi, [ebx + 4]
push edi
mov dword [ebx + 0x14], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [edi]
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
cmp dword [esi + 0x18], eax
jne 0x4a2c5a
mov dword [esi + 0x18], ebx
jmp 0x4a2c66
mov ecx, dword [esi + 0x1c]
mov dword [ecx + 0x24], ebx
mov edx, dword [esi + 0x1c]
mov dword [ebx + 0x20], edx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
test eax, eax
je 0x4a2c87
mov eax, dword [eax + 4]
test eax, eax
je 0x4a2c87
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
xor eax, eax
push eax
mov eax, 0x4a32d0
push eax
push ebp
mov edx, ebx
call fcn.00402400
mov eax, dword [esp + 0x30]
inc eax
add esp, 0xc
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
jl 0x4a2ad0
mov ecx, dword [ebp + 0xa4]
sub ecx, dword [ebp + 0xa0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
xor ebx, ebx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x20], ebx
je 0x4a301a
mov dword [esp + 0x24], ebx
jmp 0x4a2ce4
mov ebx, dword [esp + 0x20]
push 0x170
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0xc4], 8
test eax, eax
je 0x4a2d11
push 1
push 0
push eax
xor ecx, ecx
call fcn.0049f2c0
mov edi, eax
jmp 0x4a2d13
xor edi, edi
mov byte [esp + 0xc4], 3
mov ecx, dword [ebp + 0xa4]
sub ecx, dword [ebp + 0xa0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4a2d43
call fcn.004c96d9
mov eax, dword [ebp + 0xa0]
add eax, dword [esp + 0x24]
cmp dword [eax + 0x18], 8
jb 0x4a2d58
mov eax, dword [eax + 4]
jmp 0x4a2d5b
add eax, 4
push eax
call fcn.00406840
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4a2d80
mov ecx, eax
add ecx, 4
push ecx
mov edx, str.logo.png
call fcn.00405f10
mov esi, eax
jmp 0x4a2d82
xor esi, esi
mov ecx, dword [edi + 0x100]
test ecx, ecx
je 0x4a2d94
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
mov dword [edi + 0x100], esi
call eax
mov ecx, dword [ebp + 0xa4]
sub ecx, dword [ebp + 0xa0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x4a2dcb
call fcn.004c96d9
mov eax, dword [ebp + 0xa0]
add eax, dword [esp + 0x24]
cmp dword [eax + 0x18], 8
jb 0x4a2de0
mov edx, dword [eax + 4]
jmp 0x4a2de3
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 2]
jmp 0x4a2df0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a2df0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [edi + 0x148]
call fcn.00401760
mov ecx, dword [ebp + 0xa4]
sub ecx, dword [ebp + 0xa0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4a2e34
call fcn.004c96d9
mov eax, dword [ebp + 0xa0]
add eax, dword [esp + 0x24]
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x4a2e4d
mov eax, dword [eax + 4]
jmp 0x4a2e50
add eax, 4
lea ecx, [esp + 0x80]
push ecx
mov ecx, eax
call fcn.004a3aa0
mov byte [esp + 0xc4], 9
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jae 0x4a2e75
lea eax, [esp + 0x68]
mov ebx, dword [esp + 0x94]
mov edx, dword [esp + 0x78]
cmp ebx, edx
jae 0x4a2e86
mov edx, ebx
mov ecx, dword [esp + 0x84]
cmp dword [esp + 0x98], esi
jae 0x4a2e9d
lea ecx, [esp + 0x84]
test edx, edx
jbe 0x4a2ec6
mov si, word [ecx]
cmp si, word [eax]
jne 0x4a2eb6
add ecx, 2
add eax, 2
sub edx, 1
jne 0x4a2ea1
jmp 0x4a2ec6
mov dx, si
cmp dx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
jne 0x4a2ed7
mov eax, dword [esp + 0x78]
cmp ebx, eax
jb 0x4a2ee5
xor ecx, ecx
cmp ebx, eax
setne cl
mov eax, ecx
test eax, eax
jne 0x4a2ee5
cmp byte [esp + 0x1b], al
jne 0x4a2ee5
mov al, 1
jmp 0x4a2ee7
xor al, al
cmp byte [edi + 0xe0], al
je 0x4a2efe
mov edx, dword [edi]
mov byte [edi + 0xe0], al
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4a2f50
mov eax, dword [ebx + 4]
test eax, eax
je 0x4a2f16
push eax
call fcn.004c9ce2
add esp, 4
mov dword [ebx + 4], 0
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx + 4]
lea esi, [ebx + 0xc]
push edx
mov ecx, esi
call fcn.00408510
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
mov eax, dword [ebp + 0xd4]
mov esi, dword [eax + 0x98]
cmp edi, 0xffffffff
je 0x4a2f91
lea ebx, [edi + 4]
push ebx
mov dword [edi + 0x14], esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [ebx]
xor eax, eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
cmp dword [esi + 0x18], eax
jne 0x4a2f82
mov dword [esi + 0x18], edi
jmp 0x4a2f8e
mov edx, dword [esi + 0x1c]
mov dword [edx + 0x24], edi
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x20], eax
mov dword [esi + 0x1c], edi
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
test eax, eax
je 0x4a2faf
mov eax, dword [eax + 4]
test eax, eax
je 0x4a2faf
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
xor eax, eax
push eax
mov eax, 0x4a32d0
push eax
push ebp
mov edx, edi
call fcn.00402400
add esp, 0xc
mov byte [esp + 0xc4], 3
cmp dword [esp + 0x98], 8
jb 0x4a2fe5
mov ecx, dword [esp + 0x84]
push ecx
call fcn.004c8f17
add esp, 4
mov ecx, dword [ebp + 0xa4]
sub ecx, dword [ebp + 0xa0]
mov esi, dword [esp + 0x20]
add dword [esp + 0x24], 0x1c
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [esp + 0x20], esi
cmp esi, eax
jb 0x4a2ce0
mov edx, dword [ebp + 0xd4]
mov eax, dword [edx + 0x98]
mov eax, dword [eax + 0x18]
xor ecx, ecx
test eax, eax
je 0x4a303d
nop
mov eax, dword [eax + 0x24]
inc ecx
test eax, eax
jne 0x4a3030
cmp ecx, 0xf
jg 0x4a3044
mov eax, 0xf
jmp 0x4a305a
lea edx, [ecx + 4]
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
cmp ecx, eax
jge 0x4a3129
sub eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x4a3070
push 0x170
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0xc4], 0xa
test eax, eax
je 0x4a309d
push 0
push 0
push eax
xor ecx, ecx
call fcn.0049f2c0
mov esi, eax
jmp 0x4a309f
xor esi, esi
mov byte [esp + 0xc4], 3
mov ecx, dword [ebp + 0xd4]
mov edi, dword [ecx + 0x98]
test esi, esi
je 0x4a30ec
cmp esi, 0xffffffff
je 0x4a30ec
lea ebx, [esi + 4]
push ebx
mov dword [esi + 0x14], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [ebx]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
cmp dword [edi + 0x18], eax
jne 0x4a30dd
mov dword [edi + 0x18], esi
jmp 0x4a30e9
mov eax, dword [edi + 0x1c]
mov dword [eax + 0x24], esi
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x20], ecx
mov dword [edi + 0x1c], esi
mov edx, dword [edi]
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
test eax, eax
je 0x4a310a
mov eax, dword [eax + 4]
test eax, eax
je 0x4a310a
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, edi
call eax
xor eax, eax
push eax
mov eax, 0x4a32d0
push eax
push ebp
mov edx, esi
call fcn.00402400
add esp, 0xc
sub dword [esp + 0x1c], 1
jne 0x4a3070
push 0xa0
call fcn.004c8f3d
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0xc4], 0xb
test eax, eax
je 0x4a3150
push eax
call fcn.004a49b0
mov esi, eax
jmp 0x4a3152
xor esi, esi
mov eax, dword [esp + 0xd4]
cdq
sub eax, edx
mov ecx, eax
push 0x46
sar ecx, 1
mov byte [esp + 0xc8], 3
push 0xa0
sub ecx, 0x32
mov eax, 0x50
mov dword [ebp + 0xd8], esi
call fcn.00410b30
mov ecx, dword [ebp + 0xd8]
push 0
push ecx
call fcn.00410a60
mov esi, dword [ebp + 0xd8]
mov edi, dword [ebp + 0xd4]
test esi, esi
je 0x4a31d5
cmp esi, 0xffffffff
je 0x4a31d5
lea ebx, [esi + 4]
push ebx
mov dword [esi + 0x14], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [ebx]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
cmp dword [edi + 0x18], eax
jne 0x4a31c6
mov dword [edi + 0x18], esi
jmp 0x4a31d2
mov eax, dword [edi + 0x1c]
mov dword [eax + 0x24], esi
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x20], ecx
mov dword [edi + 0x1c], esi
mov edx, dword [edi]
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
xor ebx, ebx
cmp eax, ebx
je 0x4a31f5
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x4a31f5
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, edi
call eax
mov esi, dword [ebp + 0xd4]
cmp esi, ebx
je 0x4a3232
cmp esi, 0xffffffff
je 0x4a3232
lea edi, [esi + 4]
push edi
mov dword [esi + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [edi]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
cmp dword [ebp + 0x18], ebx
jne 0x4a3223
mov dword [ebp + 0x18], esi
jmp 0x4a322f
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x24], esi
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x20], eax
mov dword [ebp + 0x1c], esi
mov edx, dword [ebp]
mov eax, dword [edx + 0x20]
mov ecx, ebp
call eax
cmp eax, ebx
je 0x4a3252
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x4a3252
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x3c]
mov ecx, ebp
call eax
mov eax, dword [ebp + 0xd4]
call fcn.0040f2f0
mov ebp, dword [ebp + 0xd4]
mov esi, 8
cmp dword [esp + 0x60], esi
jb 0x4a327b
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004c8f17
add esp, 4
xor edx, edx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], dx
cmp dword [esp + 0x7c], esi
jb 0x4a32a1
mov eax, dword [esp + 0x68]
push eax
call fcn.004c8f17
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004c8f08
add esp, 0xb4
ret 0xc