Function at 0x464120
Capabilities:
Create thread
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5ef5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x28d4
call fcn.004fa7e0
mov eax, dword [0x628560]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0x2824], ebx
mov dword [ebp - 0x285c], eax
mov esi, edx
mov dword [ebp - 0x2868], edi
mov dword [ebp - 0x2820], edi
mov dword [ebp - 0x2830], edi
mov dword [ebp - 0x2844], edi
mov dword [ebp - 0x2864], edi
mov dword [ebp - 0x2850], edi
mov dword [ebp - 0x283c], edi
mov dword [ebp - 0x2848], edi
mov dword [ebp - 0x2858], edi
call fcn.0047baf0
mov ecx, dword [esi + 0x15]
mov dword [ebp - 0x2840], eax
lea eax, [esi + 9]
mov dword [ebx + 0x28], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
mov dword [ebx + 0x2c], ecx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x2874], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x2860], eax
mov al, byte [eax + 2]
mov dword [ebp - 0x2870], edx
mov byte [ebp - 0x2825], al
je 0x46441d
test al, al
movsx cx, byte [esi + 5]
mov word [ebx + 0x10], cx
jne 0x464241
push 0x448
call fcn.004d3feb
mov esi, eax
add esp, 4
mov dword [ebp - 0x282c], esi
test esi, esi
mov dword [ebp - 4], edi
je 0x464230
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
push eax
push ecx
push esi
call fcn.0048b3a0
mov dword [esi], vtable.CMpeg4Decoder.0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2830], esi
jmp 0x464271
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2830], esi
jmp 0x464271
cmp al, 1
jne 0x46441d
push 0x148
call fcn.004d3feb
mov esi, eax
add esp, 4
test esi, esi
je 0x464269
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
call fcn.0048b190
jmp 0x46426b
xor eax, eax
mov dword [ebp - 0x2830], eax
xor eax, eax
cmp dword [ebp - 0x2830], eax
je 0x46441d
cmp dword [ebx + 0x2c], 0x160
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
jbe 0x46429d
mov dword [ebx + 0x80], 0x493e0
jmp 0x4642a7
mov dword [ebx + 0x80], 0x249f0
lea esi, [ebx + 0x44]
mov edi, 0xf
nop
mov edx, dword [ebx + 0x80]
push edx
call fcn.004d4016
mov dword [esi], eax
add esp, 4
add esi, 4
sub edi, 1
jne 0x4642b0
push 0x2c
lea eax, [ebp - 0x28dc]
push 0
push eax
call fcn.004f9940
mov eax, dword [ebx + 0x28]
add esp, 0xc
cmp eax, 0x120
ja 0x46435e
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0x160
jbe 0x46435e
lea edx, [eax + eax]
push edx
push ecx
push 1
lea ebx, [ebp - 0x28dc]
call fcn.0048a550
add esp, 0xc
push 0xc
call fcn.004d3feb
mov ebx, eax
add esp, 4
mov dword [ebp - 0x282c], ebx
test ebx, ebx
mov dword [ebp - 4], 1
je 0x46434e
mov eax, dword [ebp - 0x2824]
mov edi, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
push 8
push eax
add edi, edi
push ebx
call fcn.0048b530
mov dword [ebx], vtable.CJpegEncoder.0
mov dword [ebp - 0x2844], ebx
mov ebx, dword [ebp - 0x2824]
jmp 0x46439a
xor ebx, ebx
mov dword [ebp - 0x2844], ebx
mov ebx, dword [ebp - 0x2824]
jmp 0x46439a
push 0xc
call fcn.004d3feb
mov esi, eax
add esp, 4
mov dword [ebp - 0x282c], esi
test esi, esi
mov dword [ebp - 4], 2
je 0x464392
mov eax, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x28]
push 8
push eax
push esi
call fcn.0048b530
mov dword [esi], vtable.CJpegEncoder.0
jmp 0x464394
xor esi, esi
mov dword [ebp - 0x2844], esi
mov eax, dword [ebp - 0x2860]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebx + 0x28]
mov edi, dword [ebx + 0x2c]
lea eax, [ebx + 0x34]
mov ebx, dword [ebp - 0x2840]
push edx
mov dword [ebp - 0x286c], ecx
call fcn.0047ca00
mov eax, dword [ebp - 0x2824]
push 0
push 0
push eax
push 0x464070
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [ebp - 0x2850], eax
je 0x464aa1
mov ecx, dword [ebp - 0x2824]
cmp dword [ecx + 0xd8], 0xffffffff
je 0x464415
mov edi, ecx
mov eax, dword [edi + 0xa0]
test al, 2
je 0x464646
and eax, 0xfffffffd
mov dword [edi + 0xa0], eax
mov ebx, ecx
mov edi, dword [ebp - 0x2820]
mov eax, dword [ebx + 0xd8]
push eax
xor esi, esi
call fcn.004ac2a0
add esp, 4
cmp dword [ebp - 0x2850], esi
mov dword [ebx + 0xd8], 0xffffffff
je 0x46445c
mov ecx, dword [ebp - 0x2850]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x2850]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, esi
je 0x4644b4
mov eax, dword [edi + 0x2040]
push esi
push esi
push esi
push eax
mov dword [ebp - 0x282c], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi + 0x2040]
push esi
lea ecx, [ebp - 0x282c]
push ecx
push 0x2030
lea edx, [edi + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [edi + 0x2040]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
mov dword [edi + 0x2040], 0xffffffff
call fcn.004d401b
add esp, 4
cmp dword [ebp - 0x2830], esi
je 0x4644ca
mov ecx, dword [ebp - 0x2830]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp dword [ebp - 0x2844], esi
je 0x4644e0
mov ecx, dword [ebp - 0x2844]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp dword [ebp - 0x2840], esi
je 0x4644f8
mov edx, dword [ebp - 0x2840]
lea ecx, [ebx + 0x34]
push ecx
push edx
call fcn.0047c7d0
cmp dword [ebp - 0x283c], esi
je 0x464516
mov edi, dword [ebp - 0x283c]
call fcn.004899a0
mov eax, edi
push eax
call fcn.004d401b
add esp, 4
cmp dword [ebp - 0x2848], esi
je 0x464542
mov edi, dword [ebp - 0x2848]
mov ecx, dword [edi + 0x24]
push ecx
call fcn.0050e180
add esp, 4
push edi
call fcn.0050e3a0
add esp, 4
push edi
call fcn.004d401b
add esp, 4
cmp dword [ebx + 0xc8], esi
mov dword [ebx + 0xa0], esi
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], esi
mov dword [ebx + 0xb8], esi
mov dword [ebx + 0xac], esi
mov dword [ebx + 0xa4], esi
mov word [ebx + 0x10], 0xffff
mov dword [ebx + 0xc4], esi
je 0x4645a5
call fcn.004d8fd9
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [eax + 0x20]
push esi
push esi
push 0x41b
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [ebx + 0xc8], esi
mov dword [ebx + 0xcc], 0
lea edi, [ebx + 0x44]
mov esi, 0xf
mov eax, dword [edi]
test eax, eax
je 0x4645cc
push eax
call fcn.004d401b
add esp, 4
mov dword [edi], 0
add edi, 4
sub esi, 1
jne 0x4645b7
mov edi, dword [ebx + 0xbc]
lea esi, [edi + 0x48]
push esi
mov byte [ebx + 0x30], 0
mov dword [ebp - 0x2854], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x20]
test eax, eax
jbe 0x4645fb
add eax, 0xffffffff
mov dword [edi + 0x20], eax
cmp dword [edi + 0x20], 0
jne 0x464ce8
cmp dword [edi + 0x90], 0
jne 0x464ca7
mov eax, dword [edi + 0x60]
cmp eax, 0xffffffff
je 0x464639
push eax
mov dword [edi + 0x64], 0
mov dword [edi + 0x88], 0xffffffff
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 0x60], 0xffffffff
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x464ce8
test al, 8
je 0x464729
mov edx, dword [ebp - 0x2868]
and eax, 0xfffffff7
test edx, edx
mov dword [edi + 0xa0], eax
je 0x464729
mov eax, dword [edi + 0x28]
cmp eax, 0x120
ja 0x464697
mov ecx, dword [edi + 0x2c]
cmp ecx, 0x160
jbe 0x464697
lea esi, [ebp - 0x28dc]
push esi
mov ebx, edx
call fcn.00499bc0
add esp, 4
mov dword [ebp - 0x28bc], 1
mov edx, esi
mov esi, dword [edi + 0x2c]
imul esi, dword [edi + 0x28]
mov ecx, dword [ebp - 0x2844]
mov eax, dword [ecx]
push 0
push esi
mov esi, dword [ebp - 0x285c]
push esi
push edx
mov edx, dword [eax + 8]
call edx
push ecx
mov ecx, esp
mov dword [ebp - 0x2838], esp
push 0x60518f
mov ebx, eax
call fcn.0041c4a0
lea eax, [ebp - 0x2878]
push eax
push edi
call fcn.00463db0
mov eax, dword [eax]
push 0x60ca8c
push eax
call fcn.004f621a
mov esi, eax
add esp, 8
test esi, esi
je 0x464707
mov ecx, dword [ebp - 0x285c]
push esi
push ebx
push 1
push ecx
call fcn.004f680f
push esi
call fcn.004f6518
add esp, 0x14
mov eax, dword [ebp - 0x2878]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x464729
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0xa0]
test al, al
jns 0x464758
and eax, 0xffffff7f
cmp dword [edi + 0xb8], 0
mov dword [edi + 0xa0], eax
jne 0x464751
mov dword [edi + 0xb8], 1
mov eax, edi
call fcn.00464000
mov eax, dword [edi + 0xa0]
xor ebx, ebx
test al, 1
je 0x46477a
and eax, 0xfffffffe
mov dword [edi + 0xa0], eax
mov eax, edi
mov dword [edi + 0xb8], ebx
call fcn.00464000
mov eax, dword [edi + 0xa0]
test al, 0x40
je 0x4647b2
mov ecx, dword [edi + 0xb4]
mov edx, dword [edi + 0xb0]
and eax, 0xffffffbf
push ecx
mov ecx, dword [edi + 0xbc]
mov dword [edi + 0xa0], eax
movzx eax, word [edi + 0x10]
push edx
push eax
push ecx
mov dword [edi + 0xac], ebx
call fcn.00456050
mov eax, dword [edi + 0xa0]
test al, 0x20
mov esi, dword [ebp - 0x2820]
je 0x4647f2
and eax, 0xffffffdf
cmp esi, ebx
mov dword [edi + 0xa0], eax
mov dword [edi + 0xac], ebx
je 0x4647eb
call fcn.0048b8c0
push esi
call fcn.004d401b
add esp, 4
mov dword [ebp - 0x2820], ebx
mov esi, ebx
mov eax, edi
call fcn.00464000
mov eax, dword [edi + 0xa0]
test al, 0x10
je 0x4648f1
and eax, 0xffffffef
cmp dword [edi + 0xac], ebx
mov dword [edi + 0xa0], eax
jne 0x464825
cmp esi, ebx
je 0x46482d
call fcn.0048b8c0
push esi
call fcn.004d401b
add esp, 4
jmp 0x46482d
cmp esi, ebx
jne 0x4648de
push 0x2050
call fcn.004d3feb
movzx edx, byte [ebp - 0x2825]
mov ecx, dword [ebp - 0x2870]
add esp, 4
push edx
mov edx, dword [ebp - 0x2874]
mov ebx, eax
mov eax, dword [ebp - 0x286c]
push eax
mov eax, dword [edi + 0x28]
push ecx
mov ecx, dword [edi + 0x2c]
push edx
push 0
push eax
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x2838], esp
push 0x60518f
mov dword [ebp - 0x2820], ebx
call fcn.0041c4a0
lea edx, [ebp - 0x2854]
push edx
push edi
call fcn.00463580
mov esi, eax
mov dword [ebp - 4], 3
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x4648a8
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00405490
mov esi, dword [esi]
push esi
mov esi, ebx
call fcn.0048b7f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2854]
add eax, 0xfffffff0
add esp, 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4648de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov dword [edi + 0xac], 1
call fcn.00464000
xor ebx, ebx
cmp dword [edi + 0x40], ebx
lea eax, [edi + 0x40]
mov dword [ebp - 0x2834], eax
jle 0x464c9a
mov ecx, dword [edi + 0x3c]
mov esi, dword [edi + ecx*4 + 0x44]
mov eax, dword [esi]
mov ebx, dword [esi + 0xf]
sub eax, 0x17
mov dword [ebp - 0x284c], eax
lea edx, [esi + 0x17]
mov dword [ebp - 0x2838], edx
mov eax, 0x10624dd3
mul ebx
mov al, byte [esi + 4]
shr edx, 6
cmp al, 3
mov dword [ebp - 0x282c], edx
jne 0x464c92
mov al, byte [esi + 9]
shr al, 3
and al, 3
jne 0x464b8d
mov eax, ebx
sub eax, dword [ebp - 0x2858]
mov dword [ebp - 0x2858], ebx
test eax, eax
jle 0x464963
cmp eax, 0x190
jle 0x464968
mov eax, 0x28
sub eax, 3
jns 0x46496f
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
movzx ecx, byte [ebp - 0x2825]
mov ebx, dword [ebp - 0x2838]
mov eax, ebx
call fcn.0045e800
xor ecx, ecx
cmp dword [edi + 0xac], ecx
movzx edx, al
je 0x4649fc
cmp dword [ebp - 0x2864], ecx
je 0x4649a9
cmp edx, ecx
je 0x4649fc
mov dword [ebp - 0x2864], ecx
mov eax, dword [ebp - 0x2820]
cmp eax, ecx
je 0x4649fc
mov edi, dword [esi + 0xf]
mov dword [ebp - 0x2880], ecx
imul edi, edi, 0x2710
movzx ecx, byte [esi + 9]
shr ecx, 6
and ecx, 1
push ecx
mov ecx, dword [ebp - 0x284c]
push ecx
mov dword [ebp - 0x2884], edi
add ebx, 0xfffffff2
push ebx
mov edi, eax
lea ecx, [ebp - 0x2884]
call fcn.0048b920
mov edi, dword [ebp - 0x2824]
mov ebx, dword [ebp - 0x2838]
add esp, 0xc
xor ecx, ecx
cmp byte [esi + 8], 5
jne 0x464a08
mov dword [edi + 0xcc], ecx
cmp dword [edi + 0xb8], ecx
je 0x464a33
mov ebx, dword [ebp - 0x2840]
add edi, 0x34
push edi
lea edx, [ebp - 0x28b0]
push edx
call fcn.0047ca80
push 0x50
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4643ed
cmp dword [edi + 0xcc], ecx
je 0x464a74
mov ebx, dword [ebp - 0x2840]
lea eax, [edi + 0x34]
push eax
lea ecx, [ebp - 0x28b0]
push ecx
call fcn.0047ca80
mov eax, dword [edi + 0x3c]
add eax, 1
cdq
mov ecx, 0xf
idiv ecx
mov dword [edi + 0x3c], edx
mov edx, dword [ebp - 0x2834]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x4643ed
mov ecx, dword [ebp - 0x2830]
mov edx, dword [ebp - 0x284c]
mov dword [ebp - 4], 4
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
push ebx
call eax
test eax, eax
mov dword [ebp - 0x2868], eax
mov dword [ebp - 4], 0xffffffff
jne 0x464aac
mov ebx, dword [ebp - 0x2824]
jmp 0x464417
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x2840]
mov dword [ebp - 0x28b0], ecx
mov edx, dword [eax + 4]
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x28ac], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x28a8], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x288c], eax
mov dword [ebp - 0x28a0], eax
shr eax, 1
lea edx, [edi + 0x34]
mov dword [ebp - 0x289c], eax
mov dword [ebp - 0x2898], eax
push edx
lea eax, [ebp - 0x28b0]
push eax
mov dword [ebp - 0x2888], ecx
mov dword [ebp - 0x2890], 1
call fcn.0047ca80
mov eax, dword [edi + 0x3c]
add eax, 1
cdq
mov ecx, 0xf
idiv ecx
mov dword [edi + 0x3c], edx
mov edx, dword [ebp - 0x2834]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp dword [edi + 0xc8], 0
je 0x4643ed
mov eax, dword [ebp - 0x2860]
mov ecx, dword [eax + 0x202c]
mov ecx, dword [eax + ecx*8 + 0x28]
mov eax, dword [eax + 0x18]
add ecx, 0x3e8
cmp ecx, eax
mov esi, ecx
ja 0x464b58
mov esi, eax
call fcn.004d8fd9
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x282c]
push esi
push edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
push 0x41b
call eax
mov ecx, eax
call fcn.00405d90
jmp 0x4643ed
cmp al, 1
jne 0x464c92
cmp dword [edi + 0xb8], 0
jne 0x4643ed
mov edi, dword [ebp - 0x2824]
cmp dword [edi + 0xac], 0
je 0x464bd8
mov esi, dword [ebp - 0x2820]
test esi, esi
je 0x464bd8
cmp byte [esi + 0x204c], 0
je 0x464bd8
mov eax, dword [ebp - 0x2838]
mov ecx, dword [ebp - 0x284c]
add eax, 0xfffffff2
call fcn.0048baa0
cmp dword [ebp - 0x2848], 0
jne 0x464c07
push 0x38
call fcn.004d3feb
add esp, 4
mov esi, eax
push 1
push 0x3e80
mov eax, 0x10
mov dword [ebp - 0x2848], esi
call fcn.0048ac70
add esp, 8
mov ecx, dword [ebp - 0x284c]
mov ebx, dword [ebp - 0x2848]
mov edx, dword [ebp - 0x2838]
push ecx
lea ecx, [ebp - 0x281c]
call fcn.0048acc0
add esp, 4
cmp byte [0x647fb8], 0
mov ebx, eax
je 0x464a51
cmp byte [edi + 0x30], 0
je 0x464a51
cmp dword [ebp - 0x283c], 0
jne 0x464c77
push 0x188
call fcn.004d3feb
mov esi, eax
add esp, 4
push ebx
mov edx, 1
mov ecx, 0x10
mov eax, 0x3e80
mov dword [ebp - 0x283c], esi
call fcn.00489930
add esp, 4
mov esi, dword [ebp - 0x283c]
lea edx, [ebp - 0x281c]
push ebx
push edx
call fcn.00489a20
add esp, 8
jmp 0x464a51
lea eax, [ecx + 1]
jmp 0x464a57
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4643ed
mov eax, dword [edi + 0x44]
or esi, 0xffffffff
cmp eax, esi
je 0x464cd7
push eax
mov dword [edi + 0x64], 0
mov dword [edi + 0x88], esi
call fcn.004ac2a0
mov edx, dword [edi + 0x40]
add esp, 4
push edx
mov dword [edi + 0x44], esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 0x40], esi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x2854]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebx + 0xb8], 0
mov edi, dword [ebx + 4]
je 0x464d02
mov esi, 2
jmp 0x464d30
cmp dword [ebx + 0xac], 0
je 0x464d12
mov esi, 3
jmp 0x464d30
mov ebx, dword [ebx + 0xa4]
test ebx, ebx
jne 0x464d20
xor esi, esi
jmp 0x464d30
cmp ebx, 1
mov esi, 1
je 0x464d30
mov esi, dword [ebp - 0x282c]
call fcn.004d8fd9
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [eax + 0x20]
push esi
push edi
push 0x41a
push ecx
call dword [sym.imp.USER32.dll_SendNotifyMessageA]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004f2a78
mov esp, ebp
pop ebp
ret 4