Function at 0x4a7400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1e0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1f0]
mov eax, dword [esi + 0x30]
push edi
push eax
call sym.vidcap60.exe__SfGetPixelType_4
mov ecx, dword [esi]
mov ebx, eax
push ecx
mov dword [esp + 0x58], ebx
call sym.vidcap60.exe__SfGetPixelType_4
lea edx, [esp + 0x4c]
mov edi, eax
push edx
push edi
call sym.vidcap60.exe__SfGetPixelBitsPerChannel_8
mov dword [esp + 0x48], eax
lea eax, [esp + 0x4c]
push eax
push ebx
call sym.vidcap60.exe__SfGetPixelBitsPerChannel_8
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x10]
and eax, 0xffffc000
cdq
and edx, 0x3fff
add eax, edx
mov ebx, eax
mov eax, dword [esi + 0x14]
and eax, 0xffffc000
cdq
and edx, 0x3fff
add eax, edx
mov ebp, eax
mov eax, dword [esi + 0x18]
sar ebx, 0xe
sar ebp, 0xe
dec eax
or eax, 0x3fff
inc eax
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x1c]
dec eax
or eax, 0x3fff
inc eax
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x48]
dec eax
or eax, 0x3fff
inc eax
cdq
mov ecx, dword [esi + 0x74]
and edx, 0x3fff
add eax, edx
sar eax, 0xe
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x4c]
dec eax
or eax, 0x3fff
inc eax
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
mov dword [esp + 0x14], eax
mov eax, ecx
shr eax, 0x1b
and eax, 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], eax
push 0
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x7c]
push edx
push ecx
push eax
push edi
call sym.vidcap60.exe__SfXCHGGetFunctionPointers_20
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x3c]
push 0
mov dword [esp + 0x10c], edx
lea edx, [esp + 0x138]
push edx
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x80]
push eax
mov dword [esp + 0x110], ecx
mov ecx, dword [esi + 0x38]
push edi
push edi
mov dword [esp + 0x100], ecx
call sym.vidcap60.exe__SfXCHGGetFunctionPointers_20
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], eax
mov eax, dword [esp + 0x78]
shr eax, 4
and eax, 1
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x50], eax
mov eax, ebx
mov ebx, dword [esp + 0x48]
imul eax, ebx
cdq
and edx, 7
add eax, edx
mov edx, dword [esi + 4]
mov edi, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c8], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x54], ecx
imul ecx, ebp
sar edi, 3
add edi, ecx
add edi, edx
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
imul eax, ebx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x40]
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
imul eax, dword [esp + 0x10]
mov ebx, dword [esi + 0x60]
mov ecx, dword [esi + 0x44]
cdq
and edx, 7
add eax, edx
mov edx, dword [esi + 0x64]
sar eax, 3
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x48], edx
mov edx, dword [esi + 0x10]
shl eax, 0xe
sub eax, edx
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
shl edx, 0xe
sub eax, edx
mov edx, dword [esi + 0x14]
add eax, 0x4000
mov dword [esp + 0x58], eax
lea eax, [ebp + 1]
shl eax, 0xe
sub eax, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x3c], eax
shl edx, 0xe
sub eax, edx
mov edx, dword [esp + 0x38]
add eax, 0x4000
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
sub eax, edx
cmp eax, 1
mov dword [esp + 0x74], eax
jg 0x4a7656
mov eax, dword [esp + 0x30]
sub eax, dword [esi + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
sub eax, ebp
cmp eax, 1
mov dword [esp + 0x6c], eax
jg 0x4a7672
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x3c]
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x48]
sub eax, dword [esi + 0x40]
cmp eax, 0x4000
jg 0x4a768d
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xe0], eax
mov eax, ecx
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [esp + 0x14]
sar eax, 0xe
dec edx
cmp edx, eax
mov dword [esp + 0xdc], edi
mov dword [esp + 0x3c], edx
jne 0x4a76c5
mov dword [esp + 0xec], 0
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xd8], edx
mov edx, ecx
and edx, 0x80003fff
jns 0x4a76e2
dec edx
or edx, 0xffffc000
inc edx
imul eax, dword [esi + 0x38]
mov dword [esp + 0xf4], edx
mov edx, dword [esi + 0x40]
mov dword [esp + 0x14], edx
add eax, dword [esi + 0x34]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
cmp eax, edx
mov dword [esp + 0x1c], eax
jge 0x4a78a8
nop
mov ecx, dword [esp + 0x14]
mov eax, ecx
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [esp + 0x68]
sar eax, 0xe
dec edx
cmp eax, edx
jl 0x4a778f
mov ecx, dword [esi + 0x48]
dec ecx
or ecx, 0x3fff
add ecx, 0xffffc001
mov eax, ecx
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
imul eax, dword [esp + 0x10]
mov edx, eax
and edx, 7
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x30]
shr eax, 3
add eax, edx
and ecx, 0x80003fff
mov dword [esp + 0xd4], eax
jns 0x4a777a
dec ecx
or ecx, 0xffffc000
inc ecx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xf4], ecx
call dword [esp + 0xa0]
jmp 0x4a77d3
imul eax, dword [esp + 0x10]
mov edx, eax
and edx, 7
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x30]
shr eax, 3
add eax, edx
and ecx, 0x80003fff
mov dword [esp + 0xd4], eax
jns 0x4a77c0
dec ecx
or ecx, 0xffffc000
inc ecx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xf4], ecx
call dword [esp + 0x90]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x134]
push eax
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], edx
call dword [esp + 0x144]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x38]
jne 0x4a783c
mov eax, dword [esp + 0x60]
imul dword [esp + 0x34]
shrd eax, edx, 0xe
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
imul dword [esp + 0x18]
shrd eax, edx, 0xe
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
jmp 0x4a7863
mov edx, dword [esp + 0x2c]
dec edx
cmp eax, edx
jne 0x4a785b
mov eax, dword [esp + 0x58]
imul dword [esp + 0x18]
shrd eax, edx, 0xe
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
jmp 0x4a7863
add dword [esp + 0x14], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
push ecx
push edx
push eax
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.004a4f40
lea edx, [esp + 0x78]
push edx
call dword [esp + 0x8c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x4a7710
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
imul dword [esp + 0x18]
shrd eax, edx, 0xe
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x24]
add ecx, edx
inc ebp
dec eax
cmp ebp, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x20], eax
jge 0x4a7df3
mov ebp, dword [esp + 0x74]
add ebp, 0xfffffffe
mov eax, ebp
cdq
and edx, 3
add eax, edx
sar eax, 2
and ebp, 0x80000003
mov dword [esp + 0x30], eax
jns 0x4a7905
dec ebp
or ebp, 0xfffffffc
inc ebp
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x40]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x1c], eax
jmp 0x4a7920
mov eax, dword [esp + 0x64]
mov ebp, dword [esi + 0x38]
mov dword [esp + 0xe0], eax
mov eax, ecx
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 0xe
cmp edx, eax
mov dword [esp + 0xdc], edi
jne 0x4a7956
mov dword [esp + 0xec], 0
and ecx, 0x80003fff
jns 0x4a7966
dec ecx
or ecx, 0xffffc000
inc ecx
mov edx, dword [esi + 0x34]
imul eax, ebp
mov edi, dword [esi + 0x40]
add eax, edx
mov ebp, eax
mov eax, edi
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
imul eax, dword [esp + 0x10]
mov dword [esp + 0xf4], ecx
mov ecx, eax
shr eax, 3
and ecx, 7
add eax, ebp
mov edx, edi
and edx, 0x80003fff
mov dword [esp + 0x18], ebp
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd4], eax
jns 0x4a79bb
dec edx
or edx, 0xffffc000
inc edx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xf4], edx
call dword [esp + 0x90]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x134]
push eax
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], edx
call dword [esp + 0x144]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x140]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.004a4f40
lea eax, [esp + 0x78]
push eax
call dword [esp + 0x8c]
mov eax, dword [esp + 0x60]
imul dword [esp + 0x34]
shrd eax, edx, 0xe
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
add edi, ecx
test eax, eax
jle 0x4a7c2e
lea ecx, [ebx*4]
mov ebp, edi
mov edx, eax
sub ebp, ecx
mov dword [esp + 0x24], edx
lea esp, [esp]
add edi, ebx
mov eax, edi
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 0xe
imul eax, dword [esp + 0x10]
mov ecx, eax
shr eax, 3
add eax, edx
and ecx, 7
mov edx, edi
add ebp, ebx
and edx, 0x80003fff
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd4], eax
jns 0x4a7aa5
dec edx
or edx, 0xffffc000
inc edx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xf4], edx
call dword [esp + 0x90]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
add edi, ebx
mov dword [esp + 0xc0], edx
mov eax, edi
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 0xe
imul eax, dword [esp + 0x10]
mov dword [esp + 0xbc], ecx
mov ecx, eax
shr eax, 3
add eax, edx
and ecx, 7
mov edx, edi
add ebp, ebx
and edx, 0x80003fff
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd4], eax
jns 0x4a7b19
dec edx
or edx, 0xffffc000
inc edx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xf4], edx
call dword [esp + 0x90]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
add edi, ebx
mov dword [esp + 0xc8], edx
mov eax, edi
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 0xe
imul eax, dword [esp + 0x10]
mov dword [esp + 0xc4], ecx
mov ecx, eax
shr eax, 3
add eax, edx
and ecx, 7
mov edx, edi
add ebp, ebx
and edx, 0x80003fff
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd4], eax
jns 0x4a7b8d
dec edx
or edx, 0xffffc000
inc edx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xf4], edx
call dword [esp + 0x90]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
add ebp, ebx
mov dword [esp + 0xd0], edx
mov eax, ebp
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [esp + 0x18]
sar eax, 0xe
imul eax, dword [esp + 0x10]
mov dword [esp + 0xcc], ecx
mov ecx, eax
shr eax, 3
add eax, edx
and ecx, 7
mov edx, ebp
add edi, ebx
and edx, 0x80003fff
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd4], eax
jns 0x4a7c01
dec edx
or edx, 0xffffc000
inc edx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xf4], edx
call dword [esp + 0x90]
lea ecx, [esp + 0x78]
push ecx
call dword [esp + 0x9c]
dec dword [esp + 0x24]
jne 0x4a7a60
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x4a7ca7
mov dword [esp + 0x24], eax
lea ebx, [ebx]
mov eax, edi
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
imul eax, dword [esp + 0x10]
mov edx, eax
shr eax, 3
add eax, ebp
mov dword [esp + 0xd4], eax
and edx, 7
mov eax, edi
and eax, 0x80003fff
mov dword [esp + 0xd8], edx
jns 0x4a7c7b
dec eax
or eax, 0xffffc000
inc eax
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0xf4], eax
call dword [esp + 0x90]
lea edx, [esp + 0x78]
push edx
call dword [esp + 0x8c]
mov eax, dword [esp + 0x24]
add edi, ebx
dec eax
mov dword [esp + 0x24], eax
jne 0x4a7c40
cmp dword [esp + 0x74], 1
jle 0x4a7dc4
mov ecx, dword [esp + 0x68]
mov eax, edi
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
dec ecx
cmp eax, ecx
jl 0x4a7d29
mov ecx, dword [esi + 0x48]
dec ecx
or ecx, 0x3fff
add ecx, 0xffffc001
mov eax, ecx
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
imul eax, dword [esp + 0x10]
mov edx, eax
shr eax, 3
and edx, 7
add eax, ebp
and ecx, 0x80003fff
mov dword [esp + 0xd8], edx
mov dword [esp + 0xd4], eax
jns 0x4a7d14
dec ecx
or ecx, 0xffffc000
inc ecx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xf4], ecx
call dword [esp + 0xa0]
jmp 0x4a7d69
imul eax, dword [esp + 0x10]
mov ecx, eax
shr eax, 3
and ecx, 7
add eax, ebp
and edi, 0x80003fff
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd4], eax
jns 0x4a7d56
dec edi
or edi, 0xffffc000
inc edi
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0xf4], edi
call dword [esp + 0x90]
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xd8]
lea edx, [esp + 0x134]
push edx
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], ecx
call dword [esp + 0x144]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.004a4f40
lea edx, [esp + 0x78]
push edx
call dword [esp + 0x8c]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
add edi, eax
mov eax, dword [esp + 0x1c]
add edx, ecx
dec eax
mov dword [esp + 0x28], edi
mov ecx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
mov edi, edx
jne 0x4a7920
cmp dword [esp + 0x6c], 1
jle 0x4a802d
mov eax, ecx
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 0xe
cmp eax, edx
jl 0x4a7e28
mov eax, dword [esi + 0x4c]
dec eax
or eax, 0x3fff
sub eax, 0x3fff
mov dword [esp + 0x28], eax
mov ecx, eax
mov edx, dword [esp + 0x64]
mov ebp, dword [esi + 0x38]
mov dword [esp + 0xe0], edx
mov eax, ecx
cdq
and edx, 0x3fff
add eax, edx
mov edx, dword [esp + 0x3c]
sar eax, 0xe
cmp edx, eax
mov dword [esp + 0xdc], edi
jne 0x4a7e5e
mov dword [esp + 0xec], 0
and ecx, 0x80003fff
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xd8], edx
jns 0x4a7e79
dec ecx
or ecx, 0xffffc000
inc ecx
mov edx, dword [esi + 0x34]
imul eax, ebp
mov edi, dword [esi + 0x40]
add eax, edx
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x38]
cmp eax, ecx
mov dword [esp + 0x1c], eax
jge 0x4a802d
mov eax, dword [esp + 0x68]
dec eax
mov dword [esp + 0x6c], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x6c]
mov eax, edi
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
cmp eax, ecx
jl 0x4a7f26
mov ecx, dword [esi + 0x48]
dec ecx
or ecx, 0x3fff
add ecx, 0xffffc001
mov eax, ecx
cdq
and edx, 0x3fff
add eax, edx
sar eax, 0xe
imul eax, dword [esp + 0x10]
mov edx, eax
shr eax, 3
and edx, 7
add eax, ebp
and ecx, 0x80003fff
mov dword [esp + 0xd8], edx
mov dword [esp + 0xd4], eax
jns 0x4a7f11
dec ecx
or ecx, 0xffffc000
inc ecx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xf4], ecx
call dword [esp + 0xa0]
jmp 0x4a7f68
imul eax, dword [esp + 0x10]
mov ecx, eax
shr eax, 3
and ecx, 7
add eax, ebp
mov edx, edi
and edx, 0x80003fff
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd4], eax
jns 0x4a7f55
dec edx
or edx, 0xffffc000
inc edx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xf4], edx
call dword [esp + 0x90]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
lea eax, [esp + 0x134]
push eax
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], edx
call dword [esp + 0x144]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x38]
jne 0x4a7fc7
mov eax, dword [esp + 0x60]
imul dword [esp + 0x58]
shrd eax, edx, 0xe
mov dword [esp + 0x20], eax
add edi, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
imul dword [esp + 0x70]
shrd eax, edx, 0xe
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
jmp 0x4a7fec
mov ecx, dword [esp + 0x2c]
dec ecx
cmp eax, ecx
jne 0x4a7fe6
mov eax, dword [esp + 0x58]
imul dword [esp + 0x70]
shrd eax, edx, 0xe
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
jmp 0x4a7fec
mov eax, dword [esp + 0x70]
add edi, ebx
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
push edx
push ecx
push eax
lea edx, [esp + 0x140]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.004a4f40
lea ecx, [esp + 0x78]
push ecx
call dword [esp + 0x8c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x4a7eb0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1e0
ret 4