Function at 0x40c6c0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x648
mov eax, dword [0x42e0b4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [0x436748]
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x630], 1
mov dword [ebp - 0x61c], ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x644], esi
push edi
test ebx, ebx
je 0x41d116
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x41d0f5
push 1
push ecx
lea edx, [ebp - 0x10c]
call fcn.0040b3c1
mov eax, dword [ebx + 8]
mov ecx, ebx
mov dword [ebp - 0x640], eax
call fcn.0040e272
mov edi, eax
mov dword [ebp - 0x624], edi
cmp edi, 0xffffffff
je 0x41d116
push 0
push edi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileSize]
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x63c], eax
call fcn.0040ab7f
cmp byte [0x436755], 0
mov esi, eax
je 0x40c8a6
push 4
push 0x40228c
push esi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40c8a6
movzx eax, word [esi + 8]
test ax, ax
jne 0x40cc47
mov eax, dword [ebp - 0x63c]
mov dword [ebx + 8], eax
mov byte [0x436744], 1
jmp 0x40ca78
cmp byte [edi + 1], 0xa
jne 0x40c9a7
mov eax, dword [ebp - 0x62c]
mov byte [edi + 2], 0
sub edi, edx
push 0
add edi, 2
push 0
add eax, edi
mov dword [ebp - 0x620], edi
push eax
push dword [ebp - 0x634]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFilePointer]
mov ecx, edi
mov edx, dword [ebp - 0x638]
mov ebx, dword [0x4325a0]
cmp ebx, 0x2b
jb 0x41d223
cmp ebx, 0xc42c
jae 0x41d223
mov eax, 1
push 0x200
lea esi, [ebp - 0x614]
push esi
push ecx
push edx
push eax
push ebx
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
mov ecx, eax
mov dword [ebp - 0x618], ecx
mov edi, dword [ebp - 0x624]
test eax, eax
je 0x40caa8
test ecx, ecx
je 0x40cab0
cmp ecx, 0xffffffff
je 0x40caa8
cmp word [ebp - 0x614], 0
je 0x40caa8
cmp word [ebp - 0x10c], 0
je 0x40caa8
lea eax, [ecx + ecx]
cmp eax, 0x402
jae 0x40cc65
xor ecx, ecx
mov word [ebp + eax - 0x614], cx
lea eax, [ebp - 0x614]
push 0x3a
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40c9d0
jmp 0x40c8a0
mov ebx, dword [ebp - 0x61c]
cmp dword [0x43259c], 0
jne 0x41d120
push 1
push 0
push 0
push edi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFilePointer]
cmp dword [ebp - 0x630], 0
mov dword [ebx + 8], eax
je 0x40ca96
push edi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
add esp, 4
mov ebx, eax
mov dword [ebp - 0x634], ebx
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileType]
and eax, 0xffff7fff
cmp eax, 2
je 0x41d12a
push 1
push 0
push 0
push ebx
mov edi, 0x43a7f0
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFilePointer]
push 0x448e04
mov dword [ebp - 0x62c], eax
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
push 0
lea eax, [ebp - 0x618]
push eax
push 0x200
push edi
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
push 0x448e04
mov esi, eax
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
mov ecx, dword [ebp - 0x618]
test esi, esi
je 0x41d14e
mov dword [ebp - 0x620], ecx
test ecx, ecx
je 0x40cc5e
cmp dword [0x4325a0], 0xfde9
mov esi, ecx
mov dword [ebp - 0x628], esi
mov ebx, ecx
je 0x41d155
mov edx, edi
mov dword [ebp - 0x638], edx
test ebx, ebx
jle 0x40c7e8
lea ecx, [ecx]
cmp esi, 3
jl 0x40c9a7
mov al, byte [edi]
cmp al, 0xa
je 0x41d1ad
cmp al, 0xd
je 0x40c7ae
movzx eax, byte [edi]
cmp byte [eax + 0x448af0], 0
jne 0x41d1bc
dec esi
mov eax, 1
add edi, eax
mov dword [ebp - 0x628], esi
test esi, esi
jg 0x40c990
jmp 0x40c7e8
mov esi, ebx
add ebx, 2
mov dword [ebp - 0x620], ebx
cmp word [esi], 0xa
je 0x40c9f4
lea eax, [ebp - 0x614]
cmp esi, eax
je 0x40c9f4
sub esi, 2
cmp word [esi], 0xa
jne 0x40c9e1
cmp word [esi], 0x3a
je 0x40c9fd
add esi, 2
mov edi, esi
test esi, esi
je 0x40ca3b
movzx ebx, word [edi]
push ebx
call dword [sym.imp.msvcrt.dll_iswspace]
add esp, 4
test eax, eax
je 0x40ca1e
cmp ebx, 0xa
je 0x40ca1e
add edi, 2
jmp 0x40ca03
push ebx
push 0x4022d0
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 8
test eax, eax
jne 0x41d29d
mov ebx, dword [ebp - 0x620]
cmp word [edi], 0x3a
je 0x40cae3
test ebx, ebx
je 0x40ca5f
push 0x3a
push ebx
call dword [sym.imp.msvcrt.dll_wcschr]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40c9d0
mov edi, dword [ebp - 0x624]
mov ebx, dword [ebp - 0x61c]
cmp byte [0x436744], 1
jne 0x40c8a6
xor esi, esi
mov ecx, edi
call fcn.0040a16c
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416b30
mov esp, ebp
pop ebp
ret 4
cmp eax, dword [ebp - 0x640]
jl 0x40c8da
mov ecx, dword [ebp - 0x618]
test ecx, ecx
jne 0x41d3fc
cmp dword [ebp - 0x630], 0
je 0x41d3fc
push 0
push 0
push 0
push edi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
add esp, 4
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFilePointer]
mov dword [ebp - 0x630], 0
jmp 0x40c8a0
test esi, esi
je 0x41d2ab
push 0xa
push esi
call dword [sym.imp.msvcrt.dll_wcschr]
mov ebx, eax
add esp, 8
mov dword [ebp - 0x620], ebx
test ebx, ebx
je 0x41d2b3
jmp 0x40cb10
movzx esi, word [edi]
push esi
call dword [sym.imp.msvcrt.dll_iswspace]
add esp, 4
test eax, eax
jne 0x41d345
push esi
push 0x4022d0
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 8
test eax, eax
jne 0x41d34f
movzx eax, word [edi]
cmp eax, 0x3a
jne 0x41d360
add edi, 2
test edi, edi
je 0x40cb7c
nop
movzx esi, word [edi]
push esi
call dword [sym.imp.msvcrt.dll_iswspace]
add esp, 4
test eax, eax
jne 0x41d36e
push esi
push 0x4022d0
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 8
test eax, eax
jne 0x41d378
xor ebx, ebx
mov edi, edi
movzx esi, word [edi]
push esi
push 0x4022b4
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 8
test eax, eax
jne 0x40cbc9
push esi
push 0x4022c4
call dword [sym.imp.msvcrt.dll_wcschr]
add esp, 8
test eax, eax
jne 0x40cbc9
cmp esi, 0x5e
je 0x41d389
mov ecx, esi
lea eax, [ebx + 1]
mov word [ebp + ebx*2 - 0x20c], cx
add edi, 2
mov ebx, eax
cmp eax, 0x7f
jb 0x40cb80
xor eax, eax
mov word [ebp + ebx*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
mov ebx, dword [ebp - 0x620]
add esp, 8
test eax, eax
jne 0x40ca45
mov eax, dword [ebp - 0x644]
test byte [eax + 0x40], 1
je 0x41d395
mov al, 1
mov byte [0x436744], al
call fcn.00409434
test ebx, ebx
je 0x41d39c
lea ecx, [ebp - 0x614]
sub ebx, ecx
add ebx, 2
sar ebx, 1
test al, al
jne 0x41d3ca
mov esi, dword [ebp - 0x61c]
mov edi, dword [ebp - 0x624]
add dword [esi + 8], ebx
mov ebx, esi
jmp 0x40ca6b
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
add esp, 4
test eax, eax
jne 0x40c799
jmp 0x40c8a6
xor eax, eax
jmp 0x40c826
call fcn.00416c78
int3
mov eax, 1
test eax, eax
je 0x41d163
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
call eax
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41d0b0
xor al, al
jmp 0x41d17a
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00416d73
add esp, 8
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push 5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x154]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41d101
mov edx, dword [ebp - 8]
shl edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 0
je 0x41d0ff
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
call edx
dec ebp
or byte [ebx - 0x2d00d3af], cl
add esp, 4
jmp 0x41d084
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
je 0x41d15c
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x3c], 0
je 0x41d14f
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x3c]
push eax
call fcn.0041d010
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x41d14f
invalid
cmp dword [ebp - 4], 0
je 0x41d14b
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
call ecx
add esp, 4
mov al, 1
jmp 0x41d17a
sub ecx, dword [ebx + 0x458bf455]
hlt
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add eax, dword [edx]
mov dword [ebp - 0xc], eax
jmp 0x41d107
jmp 0x41d163
cmp dword [ebp - 4], 0
je 0x41d178
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
call eax
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret
mov eax, 1
test eax, eax
je 0x41d267
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
call eax
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41d1c0
xor al, al
jmp 0x41d27e
mov esi, 0x8b000000
dec ebp
clc
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00416d73
add esp, 8
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push 5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x154]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41d211
mov edx, dword [ebp - 8]
shl edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 0
je 0x41d20f
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
call edx
add esp, 4
jmp 0x41d194
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
je 0x41d260
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x3c], 0
je 0x41d253
jp 0x41d261
add byte [ebx + ebp - 0x75], dh
inc ebp
hlt
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.0041cf80
add esp, 4
cmp eax, 0xf868b2f1
jne 0x41d253
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x220]
or eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x220], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add eax, dword [edx]
mov dword [ebp - 0xc], eax
jmp 0x41d217
jmp 0x41d267
add eax, 0xffff2de9
inc dword [ebx + 0x7400fc7d]
jnp 0x8b93cebf
cmp dword [ebp - 4], 0
je 0x41d27c
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
call eax
push ebp
or byte [ebx - 0x2f00d3be], cl
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret
or byte [edx + 0x6a], dl
add dword [ebx + 0x88b0845], ecx
push ecx
call fcn.00420230
add esp, 0xc
mov dword [ebp - 0x30], eax
push 4
add byte [ebx + 0x45890cc4], al
shr byte [edx + 4], 1
add al, 0x68
add byte [eax], dl
add byte [eax], al
push 0x1000
push 0x822
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x80]
call edx
mov dword [ebp - 0x20], eax
push 0x20a
mov eax, dword [ebp - 0x20]
push eax
call fcn.00416d73
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [edx]
add ecx, 0xe0
mov edx, dword [ebp - 0x20]
call fcn.00417742
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 5
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call fcn.0041a320
add esp, 0x10
movzx edx, al
test edx, edx
jne 0x41d338
push 3
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb4]
call eax
xor al, al
jmp 0x41d5dc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
push 0
mov eax, dword [ebp + 8]
or byte [ebx + 0x6a520851], cl
add byte [ebx + 0x88b0845], cl
mov ecx, dword [eax]
push ecx
call fcn.00420230
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
push ecx
les eax, [ecx + ecx*4]
inc ebp
call 0x523a2102
mov edx, dword [ebp - 0x18]
push edx
call fcn.00416d73
add esp, 8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call fcn.0041a450
add esp, 0x14
movzx eax, al
test eax, eax
jne 0x41d3c0
push ebp
call 0x9a35bbd0
invalid
call 0x8b423ddf
push ebp
hlt
or byte [ebx - 0x4d17adef], cl
sar bh, 1
inc dword [ebx - 0x49f0eb3c]
rol byte [ebp + 0x6a1875c0], 3
invalid
push 3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [eax + 0xb4]
call ecx
xor al, al
jmp 0x41d5dc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
sub ecx, dword [ebp - 8]
clc
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x34], 0x400
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
add ecx, dword [ebp - 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x28], edx
push 0x400
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
call eax
add esp, 4
mov dword [ebp - 0x1c], eax
add al, 0x89
inc ebp
in al, 0xb9
add dword [eax], eax
add byte [eax], al
mov ecx, 1
test ecx, ecx
je 0x41d4a8
cmp dword [ebp - 0x14], 0x400
jae 0x41d41e
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
jmp 0x41d425
mov dword [ebp - 0x2c], 0x400
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41d433
jmp 0x41d4a8
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00417331
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call fcn.0041a450
add esp, 0x14
movzx edx, al
test edx, edx
je 0x41d48b
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
jmp 0x41d4a3
push 3
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb4]
call eax
xor al, al
jmp 0x41d5dc
jmp 0x41d400
push 0x12c
push 0x64
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call fcn.0041a530
add esp, 0xc
mov ecx, dword [ebp - 8]
sub ecx, 2
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
add ecx, 2
push ecx
push 2
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call fcn.0041a450
add esp, 0x14
movzx eax, al
test eax, eax
jne 0x41d507
push 3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [eax + 0xb4]
call ecx
xor al, al
jmp 0x41d5dc
push 0xc8
push 0x64
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call fcn.0041a530
add esp, 0xc
mov byte [ebp - 4], 0x4d
mov byte [ebp - 3], 0x5a
push 1
mov edx, 1
imul eax, edx, 0
lea ecx, [ebp + eax - 4]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call fcn.0041a450
add esp, 0x14
movzx eax, al
test eax, eax
jne 0x41d567
push 3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [eax + 0xb4]
call ecx
xor al, al
jmp 0x41d5dc
push 1
mov edx, 1
shl edx, 0
lea eax, [ebp + edx - 4]
push eax
push 1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call fcn.0041a450
add esp, 0x14
movzx edx, al
test edx, edx
jne 0x41d5a8
push 3
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb4]
call eax
xor al, al
jmp 0x41d5dc
cmp dword [ebp - 0x18], 0
je 0x41d5c1
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
call edx
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x41d5da
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx]
mov ecx, dword [eax + 0x2c]
call ecx
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret