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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c61b0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x28d4
call fcn.004eb910
mov eax, dword [0x617560]
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 - 0x2820], ebx
mov dword [ebp - 0x285c], eax
mov esi, edx
mov dword [ebp - 0x2868], edi
mov dword [ebp - 0x2824], edi
mov dword [ebp - 0x2838], edi
mov dword [ebp - 0x2840], edi
mov dword [ebp - 0x2864], edi
mov dword [ebp - 0x2850], edi
mov dword [ebp - 0x283c], edi
mov dword [ebp - 0x2844], edi
mov dword [ebp - 0x2858], edi
call fcn.0046dcf0
mov ecx, dword [esi + 0x15]
mov dword [ebp - 0x2830], 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 0x457b8c
test al, al
movsx cx, byte [esi + 5]
mov word [ebx + 0x10], cx
jne 0x457341
push 0x448
call fcn.004c51db
mov esi, eax
add esp, 4
mov dword [ebp - 0x282c], esi
test esi, esi
mov dword [ebp - 4], edi
je 0x457330
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
push eax
push ecx
push esi
call fcn.0047d270
mov dword [esi], vtable.CMpeg4Decoder.0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2838], esi
jmp 0x457371
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2838], esi
jmp 0x457371
cmp al, 1
jne 0x457b8c
push 0x148
call fcn.004c51db
mov esi, eax
add esp, 4
test esi, esi
je 0x457369
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
call fcn.0047cfd0
jmp 0x45736b
xor eax, eax
mov dword [ebp - 0x2838], eax
cmp dword [ebp - 0x2838], 0
je 0x457b8c
cmp dword [ebx + 0x2c], 0x160
jbe 0x457393
mov dword [ebx + 0x80], 0x493e0
jmp 0x45739d
mov dword [ebx + 0x80], 0x249f0
lea esi, [ebx + 0x44]
mov edi, 0xf
jmp 0x4573b0
mov edx, dword [ebx + 0x80]
push edx
call fcn.004c520b
mov dword [esi], eax
add esp, 4
add esi, 4
sub edi, 1
jne 0x4573b0
push 0x2c
lea eax, [ebp - 0x28dc]
push 0
push eax
call fcn.004eaae0
mov eax, dword [ebx + 0x28]
add esp, 0xc
cmp eax, 0x120
ja 0x45745e
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0x160
jbe 0x45745e
lea edx, [eax + eax]
push edx
push ecx
push 1
lea ebx, [ebp - 0x28dc]
call fcn.0047c740
add esp, 0xc
push 0xc
call fcn.004c51db
mov ebx, eax
add esp, 4
mov dword [ebp - 0x282c], ebx
test ebx, ebx
mov dword [ebp - 4], 1
je 0x45744e
mov eax, dword [ebp - 0x2820]
mov edi, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
push 8
push eax
add edi, edi
push ebx
call fcn.0047d420
mov dword [ebx], vtable.CJpegEncoder.0
mov dword [ebp - 0x2840], ebx
mov ebx, dword [ebp - 0x2820]
jmp 0x45749a
xor ebx, ebx
mov dword [ebp - 0x2840], ebx
mov ebx, dword [ebp - 0x2820]
jmp 0x45749a
push 0xc
call fcn.004c51db
mov esi, eax
add esp, 4
mov dword [ebp - 0x282c], esi
test esi, esi
mov dword [ebp - 4], 2
je 0x457492
mov eax, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x28]
push 8
push eax
push esi
call fcn.0047d420
mov dword [esi], vtable.CJpegEncoder.0
jmp 0x457494
xor esi, esi
mov dword [ebp - 0x2840], 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 - 0x2830]
push edx
mov dword [ebp - 0x286c], ecx
call fcn.0046ebb0
mov eax, dword [ebp - 0x2820]
xor esi, esi
push esi
push esi
push eax
push 0x458f50
push esi
push esi
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], esi
mov dword [eax + 0x40], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [ebp - 0x2850], eax
je 0x457515
mov eax, dword [ebp - 0x2820]
cmp dword [eax + 0xc], 0xffffffff
je 0x457b84
mov edi, eax
mov eax, dword [edi + 0xa0]
test al, 2
je 0x457520
and eax, 0xfffffffd
mov dword [edi + 0xa0], eax
mov ebx, dword [ebp - 0x2820]
jmp 0x457b86
test al, 8
je 0x457611
mov edx, dword [ebp - 0x2868]
and eax, 0xfffffff7
test edx, edx
mov dword [edi + 0xa0], eax
je 0x457611
mov eax, dword [edi + 0x28]
cmp eax, 0x120
ja 0x457571
mov ecx, dword [edi + 0x2c]
cmp ecx, 0x160
jbe 0x457571
lea esi, [ebp - 0x28dc]
push esi
mov ebx, edx
call fcn.0048b600
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 - 0x2840]
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 - 0x2834], esp
push 0x5f510f
mov ebx, eax
call fcn.00416b90
lea eax, [ebp - 0x2878]
push eax
push edi
call fcn.00459800
mov dword [ebp - 4], 3
mov eax, dword [eax]
push 0x5fd780
push eax
call fcn.004e7b85
mov esi, eax
add esp, 8
test esi, esi
je 0x4575e8
mov ecx, dword [ebp - 0x285c]
push esi
push ebx
push 1
push ecx
call fcn.004e7cb2
push esi
call fcn.004e7db2
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
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 0x457611
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 0x457640
and eax, 0xffffff7f
cmp dword [edi + 0xb8], 0
mov dword [edi + 0xa0], eax
jne 0x457639
mov dword [edi + 0xb8], 1
mov eax, edi
call fcn.00459a50
mov eax, dword [edi + 0xa0]
xor ebx, ebx
test al, 1
je 0x457662
and eax, 0xfffffffe
mov dword [edi + 0xa0], eax
mov eax, edi
mov dword [edi + 0xb8], ebx
call fcn.00459a50
mov eax, dword [edi + 0xa0]
test al, 0x40
je 0x45769a
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.0044c090
mov eax, dword [edi + 0xa0]
test al, 0x20
mov esi, dword [ebp - 0x2824]
je 0x4576da
and eax, 0xffffffdf
cmp esi, ebx
mov dword [edi + 0xa0], eax
mov dword [edi + 0xac], ebx
je 0x4576d3
call fcn.0047d7b0
push esi
call fcn.004c5206
add esp, 4
mov dword [ebp - 0x2824], ebx
mov esi, ebx
mov eax, edi
call fcn.00459a50
mov eax, dword [edi + 0xa0]
test al, 0x10
je 0x4577d9
and eax, 0xffffffef
cmp dword [edi + 0xac], ebx
mov dword [edi + 0xa0], eax
jne 0x45770d
cmp esi, ebx
je 0x457715
call fcn.0047d7b0
push esi
call fcn.004c5206
add esp, 4
jmp 0x457715
cmp esi, ebx
jne 0x4577c6
push 0x2050
call fcn.004c51db
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 - 0x2834], esp
push 0x5f510f
mov dword [ebp - 0x2824], ebx
call fcn.00416b90
lea edx, [ebp - 0x2854]
push edx
push edi
call fcn.00458fd0
mov esi, eax
mov dword [ebp - 4], 4
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x457790
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004053f0
mov esi, dword [esi]
push esi
mov esi, ebx
call fcn.0047d6e0
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 0x4577c6
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.00459a50
xor ebx, ebx
cmp dword [edi + 0x40], ebx
lea eax, [edi + 0x40]
mov dword [ebp - 0x2848], eax
jle 0x457b77
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 - 0x2834], edx
mov eax, 0x10624dd3
mul ebx
mov al, byte [esi + 9]
shr edx, 6
shr al, 3
and al, 3
mov dword [ebp - 0x282c], edx
jne 0x457a6a
mov eax, ebx
sub eax, dword [ebp - 0x2858]
mov dword [ebp - 0x2858], ebx
test eax, eax
jle 0x457840
cmp eax, 0x190
jle 0x457845
mov eax, 0x28
sub eax, 3
jns 0x45784c
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
movzx ecx, byte [ebp - 0x2825]
mov ebx, dword [ebp - 0x2834]
mov eax, ebx
call fcn.00456c50
xor ecx, ecx
cmp dword [edi + 0xac], ecx
movzx edx, al
je 0x4578d9
cmp dword [ebp - 0x2864], ecx
je 0x457886
cmp edx, ecx
je 0x4578d9
mov dword [ebp - 0x2864], ecx
mov eax, dword [ebp - 0x2824]
cmp eax, ecx
je 0x4578d9
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.0047d810
mov edi, dword [ebp - 0x2820]
mov ebx, dword [ebp - 0x2834]
add esp, 0xc
xor ecx, ecx
mov eax, 5
cmp byte [esi + 8], al
jne 0x4578e9
mov dword [edi + 0xcc], ecx
cmp dword [edi + 0xb8], ecx
je 0x457914
mov ebx, dword [ebp - 0x2830]
add edi, 0x34
push edi
lea edx, [ebp - 0x28b0]
push edx
call fcn.0046ec30
push 0x50
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4574f0
cmp dword [edi + 0xcc], ecx
je 0x457955
mov ebx, dword [ebp - 0x2830]
lea eax, [edi + 0x34]
push eax
lea ecx, [ebp - 0x28b0]
push ecx
call fcn.0046ec30
mov eax, dword [edi + 0x3c]
add eax, 1
cdq
mov ecx, 0xf
idiv ecx
mov dword [edi + 0x3c], edx
mov edx, dword [ebp - 0x2848]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jmp 0x4574f0
mov ecx, dword [ebp - 0x2838]
mov edx, dword [ebp - 0x284c]
mov dword [ebp - 4], eax
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 0x457989
mov ebx, dword [ebp - 0x2820]
jmp 0x457b86
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x2830]
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.0046ec30
mov eax, dword [edi + 0x3c]
add eax, 1
cdq
mov ecx, 0xf
idiv ecx
mov dword [edi + 0x3c], edx
mov edx, dword [ebp - 0x2848]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp dword [edi + 0xc8], 0
je 0x4574f0
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 0x457a35
mov esi, eax
call fcn.004ca1a2
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.00405e30
jmp 0x4574f0
cmp al, 1
jne 0x457b6f
cmp dword [edi + 0xb8], 0
jne 0x4574f0
mov edi, dword [ebp - 0x2820]
cmp dword [edi + 0xac], 0
je 0x457ab5
mov esi, dword [ebp - 0x2824]
test esi, esi
je 0x457ab5
cmp byte [esi + 0x204c], 0
je 0x457ab5
mov eax, dword [ebp - 0x2834]
mov ecx, dword [ebp - 0x284c]
add eax, 0xfffffff2
call fcn.0047d990
cmp dword [ebp - 0x2844], 0
jne 0x457ae4
push 0x38
call fcn.004c51db
add esp, 4
mov esi, eax
push 1
push 0x3e80
mov eax, 0x10
mov dword [ebp - 0x2844], esi
call fcn.0047cab0
add esp, 8
mov ecx, dword [ebp - 0x284c]
mov ebx, dword [ebp - 0x2844]
mov edx, dword [ebp - 0x2834]
push ecx
lea ecx, [ebp - 0x281c]
call fcn.0047cb00
add esp, 4
cmp byte [0x636fa0], 0
mov ebx, eax
je 0x457932
cmp byte [edi + 0x30], 0
je 0x457932
cmp dword [ebp - 0x283c], 0
jne 0x457b54
push 0x188
call fcn.004c51db
mov esi, eax
add esp, 4
push ebx
mov edx, 1
mov ecx, 0x10
mov eax, 0x3e80
mov dword [ebp - 0x283c], esi
call fcn.0047bbb0
add esp, 4
mov esi, dword [ebp - 0x283c]
lea edx, [ebp - 0x281c]
push ebx
push edx
call fcn.0047bd40
add esp, 8
jmp 0x457932
lea eax, [ecx + 1]
jmp 0x457938
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4574f0
mov ebx, eax
mov edi, dword [ebp - 0x2824]
mov eax, dword [ebx + 0xc]
push eax
xor esi, esi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [ebp - 0x2850], esi
mov dword [ebx + 0xc], 0xffffffff
je 0x457bc3
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 0x457c1b
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.004c5206
add esp, 4
cmp dword [ebp - 0x2838], esi
je 0x457c31
mov ecx, dword [ebp - 0x2838]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp dword [ebp - 0x2840], esi
je 0x457c47
mov ecx, dword [ebp - 0x2840]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp dword [ebp - 0x2830], esi
je 0x457c5f
mov edx, dword [ebp - 0x2830]
lea ecx, [ebx + 0x34]
push ecx
push edx
call fcn.0046e980
cmp dword [ebp - 0x283c], esi
je 0x457c7d
mov edi, dword [ebp - 0x283c]
call fcn.0047bcc0
mov eax, edi
push eax
call fcn.004c5206
add esp, 4
cmp dword [ebp - 0x2844], esi
je 0x457ca9
mov edi, dword [ebp - 0x2844]
mov ecx, dword [edi + 0x24]
push ecx
call fcn.004ff5f0
add esp, 4
push edi
call fcn.004ff810
add esp, 4
push edi
call fcn.004c5206
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 0x457d0c
call fcn.004ca1a2
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 0x457d33
push eax
call fcn.004c5206
add esp, 4
mov dword [edi], 0
add edi, 4
sub esi, 1
jne 0x457d1e
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 0x457d62
add eax, 0xffffffff
mov dword [edi + 0x20], eax
cmp dword [edi + 0x20], 0
jne 0x457de3
cmp dword [edi + 0x90], 0
jne 0x457da2
mov eax, dword [edi + 0x60]
cmp eax, 0xffffffff
je 0x457d98
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 0x457de3
mov eax, dword [edi + 0x44]
or esi, 0xffffffff
cmp eax, esi
je 0x457dd2
push eax
mov dword [edi + 0x64], 0
mov dword [edi + 0x88], esi
call fcn.0049d1d0
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 0x457dfd
mov esi, 2
jmp 0x457e2b
cmp dword [ebx + 0xac], 0
je 0x457e0d
mov esi, 3
jmp 0x457e2b
mov ebx, dword [ebx + 0xa4]
test ebx, ebx
jne 0x457e1b
xor esi, esi
jmp 0x457e2b
cmp ebx, 1
mov esi, 1
je 0x457e2b
mov esi, dword [ebp - 0x282c]
call fcn.004ca1a2
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.004e3dc3
mov esp, ebp
pop ebp
ret 4