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

Disassembly:
push 0xffffffffffffffff
push 0x2480a67e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [esp + 0x180]
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x2c], edi
mov word [eax], bp
mov eax, dword [edi + 0x60]
cmp eax, ebp
je 0x2480011c
mov ebx, dword [esp + 0x174]
xor eax, eax
mov ecx, ebx
and ecx, 0x100
cmp cx, 0x100
sete al
and bh, 0xfe
mov byte [esp + 0x11], al
cmp bx, 0x1000
mov dword [esp + 0x174], ebx
jne 0x247ff695
mov bx, word [edi + 0x6e]
mov dword [esp + 0x174], ebx
mov ecx, edi
call fcn.247fe760
cmp eax, ebp
mov dword [esp + 0x44], eax
jl 0x24800135
test bl, 1
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x48], ebp
je 0x247ff6c3
or ebx, 0x10
mov dword [esp + 0x174], ebx
mov bl, byte [edi + 0x84]
mov esi, dword [esp + 0x170]
mov edx, dword [edi + 0x58]
mov ax, word [edi + 0x6c]
and bl, 1
cmp esi, ebp
mov dword [esp + 0x28], edx
mov word [esp + 0x4c], ax
mov byte [esp + 0x13], bl
je 0x247ff6fb
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
mov byte [esp + 0x12], 0
jne 0x247ff700
mov byte [esp + 0x12], 1
xor ebp, ebp
cmp word [esp + 0x184], bp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebp
jne 0x247ff75c
mov ecx, dword [esp + 0x17c]
mov eax, dword [ecx]
cmp eax, ebp
je 0x247ff739
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebp
xor bl, bl
jmp 0x247ff758
lea ecx, [esp + 0x48]
call fcn.247fd720
test eax, eax
mov dword [esp + 0x44], eax
jl 0x24800135
xor ebx, ebx
cmp word [esp + 0x4c], bx
setne bl
mov byte [esp + 0x13], bl
test bl, bl
je 0x247ff77f
mov ecx, dword [edi + 0x60]
lea edx, [esp + 0x5c]
push 0x78
push edx
lea edx, [esp + 0x5c]
call fcn.247f5f80
test eax, eax
mov dword [esp + 0x44], eax
jl 0x24800131
mov al, byte [esp + 0x12]
test al, al
jne 0x247ff7ae
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x60], ebp
jne 0x247ff7a5
mov dword [esp + 0x44], 0x8007000e
jmp 0x248000c9
push ebp
call fcn.24803d80
add esp, 4
cmp word [edi + 0x5c], 0
mov dword [esp + 0x38], 0
jbe 0x248000be
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x174]
mov bx, word [eax]
mov dword [esp + 0x3c], ebx
and ebx, ecx
test bx, bx
mov dword [esp + 0x68], ebx
je 0x24800094
mov al, byte [esp + 0x11]
test al, al
je 0x247ff845
movsx eax, word [esp + 0x3c]
movsx edx, word [esp + 0x174]
movsx ecx, word [esp + 0x4c]
and eax, edx
mov edx, ecx
shl eax, 8
and edx, 0xff
and ecx, 0x700
or eax, edx
mov edx, dword [esp + 0x3c]
shl eax, 0xb
or eax, ecx
mov ecx, dword [esp + 0x38]
shl eax, 5
and ecx, 0xfff
and edx, 0x1100
or eax, ecx
cmp dx, 0x1100
mov dword [esp + 0x20], eax
jne 0x247ff841
or ah, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x3c]
mov ebp, ecx
and ebp, 0x2000
test bp, bp
je 0x247ff8af
mov eax, dword [esp + 0x64]
test eax, eax
je 0x247ff873
mov dword [esp + 0x30], 2
mov dword [esp + 0x64], 0
jmp 0x247ff956
mov al, cl
and eax, 3
mov edx, eax
and edx, 0xffff
movsx ecx, cx
shl edx, 9
test ecx, edx
je 0x24800094
cmp ax, 3
jne 0x247ff8a6
mov eax, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], eax
jmp 0x247ff952
mov dword [esp + 0x30], eax
jmp 0x247ff952
mov edx, ecx
and edx, 0x100
test dx, dx
jne 0x247ff956
test bl, 0x10
jne 0x247ff956
mov al, cl
mov edi, 1
and eax, 3
cmp ax, 3
jne 0x247ff8db
mov eax, edi
mov esi, dword [esp + 0x174]
and ecx, eax
and ecx, esi
test cx, cx
je 0x247ff94a
mov ecx, dword [esp + 0x28]
and eax, 0xffff
shl eax, 1
mov cx, word [ecx + eax]
test cx, cx
je 0x247ff94a
mov edx, dword [esp + 0x2c]
movsx ecx, cx
mov edx, dword [edx + 0x58]
mov si, word [edx + ecx*8 - 8]
lea ecx, [edx + ecx*8 - 8]
and esi, 0x100
test si, si
jne 0x247ff948
mov esi, dword [esp + 0x38]
and esi, 0xffff
inc esi
movsx ecx, word [ecx + eax]
cmp ecx, esi
je 0x247ff94a
mov bx, word [edx + ecx*8 - 8]
lea ecx, [edx + ecx*8 - 8]
and ebx, 0x100
test bx, bx
mov ebx, dword [esp + 0x68]
je 0x247ff928
xor edi, edi
test edi, edi
jne 0x24800094
mov ecx, dword [esp + 0x3c]
mov edx, ecx
and edx, 0x800
test dx, dx
je 0x247ff970
test bp, bp
jne 0x247ff970
mov dword [esp + 0x30], 3
and ecx, 0x4000
test cx, cx
je 0x247ff9cb
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov si, word [eax + 6]
mov eax, dword [edx + 0x58]
dec si
mov ecx, esi
and ecx, 0xffff
mov ax, word [eax + ecx*8]
mov cl, byte [esp + 0x11]
test cl, cl
jne 0x247ff9bf
mov ecx, eax
and ecx, 0x4000
test cx, cx
jne 0x24800094
and eax, 0x100
test ax, ax
jne 0x24800094
mov edx, dword [esp + 0x2c]
mov edi, dword [edx + 0x60]
jmp 0x247ffaba
cmp word [esp + 0x30], 0
je 0x247ffaaf
movsx eax, word [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov dx, word [ecx + eax*2]
mov ecx, ebp
dec dx
push edx
call fcn.24802a90
mov ecx, eax
call fcn.24802970
mov edi, eax
mov eax, dword [esp + 0x74]
xor esi, esi
mov dword [esp + 0x8c], edi
cmp eax, esi
mov dword [esp + 0x30], esi
jne 0x247ffa4a
push 0x18
call fcn.248033b0
add esp, 4
mov dword [esp + 0x68], eax
cmp eax, esi
mov dword [esp + 0x164], esi
je 0x247ffa39
push esi
push esi
push 0x248029d0
mov ecx, eax
call fcn.24802800
jmp 0x247ffa3b
xor eax, eax
mov dword [esp + 0x164], 0xffffffff
mov dword [esp + 0x74], eax
push edi
mov ecx, eax
call fcn.248028c0
cmp ax, word [esp + 0x6c]
jl 0x247ffa80
mov eax, dword [esp + 0x8e]
push edi
mov ecx, ebp
lea esi, [eax - 1]
call fcn.24802a20
mov ecx, eax
call fcn.24802970
mov edi, eax
push edi
mov ecx, dword [edi]
call dword [ecx + 8]
inc dword [esp + 0x6c]
jmp 0x247ffabe
mov al, byte [esp + 0x11]
test al, al
je 0x24800094
mov edx, dword [esp + 0x8e]
push edi
mov ecx, ebp
lea esi, [edx - 1]
call fcn.24802a20
mov ecx, eax
call fcn.24802970
mov edi, eax
push edi
mov eax, dword [edi]
call dword [eax + 8]
jmp 0x247ffabe
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
mov edi, dword [ecx + 0x60]
mov ebp, dword [esp + 0x2c]
mov edx, dword [edi]
lea eax, [esp + 0x18]
and esi, 0xffff
push eax
push esi
push edi
call dword [edx + 0x10]
test eax, eax
jl 0x24800073
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x80]
push ecx
push edx
push ebx
mov ecx, ebp
call fcn.24802580
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jl 0x24800069
mov eax, dword [esp + 0x34]
test byte [eax + 0x37], 2
jne 0x2480005e
mov edi, dword [esp + 0x16c]
mov ebx, dword [esp + 0x190]
jmp 0x247ffb29
mov edi, dword [esp + 0x16c]
mov ecx, dword [esp + 0x80]
not ecx
test cx, cx
je 0x247ffcf8
xor ebp, ebp
cmp word [eax + 0x2c], bp
jbe 0x247ffcf8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
mov edx, dword [eax]
and ecx, 0xffff
push ecx
push eax
call dword [edx + 0x14]
test eax, eax
jl 0x247ffce9
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x80]
mov dx, word [ecx + 0x30]
and edx, esi
test dx, dx
jne 0x247ffcda
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx]
push 0
push 0
mov edx, dword [eax]
lea esi, [esp + 0x1c]
push 0
push esi
push ecx
push eax
call dword [edx + 0x30]
test eax, eax
jl 0x247ffcda
cmp word [esp + 0x180], 0
mov esi, dword [esp + 0x14]
mov eax, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], eax
jne 0x247ffbcd
mov dx, word [esi]
cmp dx, word [0x2480e39c]
je 0x247ffcc3
mov al, byte [esp + 0x12]
test al, al
jne 0x247ffc47
mov ecx, dword [esi - 4]
lea edi, [esp + 0x94]
add ecx, 2
lea edx, [esp + 0x94]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x60]
push ecx
push edx
call fcn.24803d80
add esp, 4
push eax
call fcn.24803d20
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x174]
mov dword [esp + 0x78], eax
mov al, byte [esp + 0x1a]
add esp, 8
test al, al
jne 0x247ffc47
mov eax, dword [esp + 0x70]
test eax, eax
je 0x247ffcc3
cmp word [esp + 0x178], 0
jne 0x247ffc47
lea ecx, [esp + 0x94]
cmp eax, ecx
jne 0x247ffcc3
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x2480016e
push esi
call fcn.247fd810
test ax, ax
jne 0x247ffcbf
mov al, byte [esp + 0x13]
test al, al
je 0x24800150
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x58]
push eax
call fcn.247f5f20
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
movsx ecx, word [esp + 0x4c]
mov edx, ecx
and ecx, 0xff
and edx, 0x700
shl ecx, 0xb
or edx, ecx
lea ecx, [esp + 0x24]
shl edx, 5
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
mov ecx, edi
call dword [edi + 4]
test eax, eax
jl 0x247ffcbf
inc word [ebx]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x247ffcd3
mov eax, dword [esp + 0x24]
test eax, eax
je 0x247ffcda
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esp + 0x34]
inc ebp
cmp bp, word [eax + 0x2c]
jb 0x247ffb47
mov edx, dword [esp + 0x7c]
not edx
test dx, dx
je 0x247fffe1
xor ebp, ebp
cmp word [eax + 0x2e], bp
jbe 0x247fffe1
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x58]
push edx
mov edx, ebp
mov ecx, dword [eax]
and edx, 0xffff
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x247fffd2
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x7c]
mov ax, word [ecx + 0x1c]
and eax, esi
test ax, ax
jne 0x247fffc3
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx]
push 0
push 0
mov edx, dword [eax]
lea esi, [esp + 0x1c]
push 0
push esi
push ecx
push eax
call dword [edx + 0x30]
test eax, eax
jl 0x247fffc3
cmp word [esp + 0x180], 0
mov esi, dword [esp + 0x14]
mov eax, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], eax
jne 0x247ffd96
mov dx, word [esi]
cmp dx, word [0x2480e39c]
je 0x247fffac
mov al, byte [esp + 0x12]
test al, al
jne 0x247ffe14
mov ecx, dword [esi - 4]
lea edi, [esp + 0x94]
add ecx, 2
lea edx, [esp + 0x94]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x60]
push ecx
push edx
call fcn.24803d80
add esp, 4
push eax
call fcn.24803d20
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x174]
mov dword [esp + 0x78], eax
mov al, byte [esp + 0x1a]
add esp, 8
test al, al
jne 0x247ffe14
mov eax, dword [esp + 0x70]
test eax, eax
je 0x247fffac
cmp word [esp + 0x178], 0
jne 0x247ffe14
lea ecx, [esp + 0x94]
cmp eax, ecx
jne 0x247fffac
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x247ffeb3
push esi
call fcn.247fd810
test ax, ax
jne 0x247fffa8
mov al, byte [esp + 0x13]
test al, al
je 0x247ffe95
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x58]
push eax
call fcn.247f5f20
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
movsx ecx, word [esp + 0x4c]
mov edx, ecx
and ecx, 0xff
and edx, 0x700
shl ecx, 0xb
or edx, ecx
lea ecx, [esp + 0x24]
shl edx, 5
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
mov ecx, edi
call dword [edi + 4]
test eax, eax
jl 0x247fffa8
inc word [ebx]
jmp 0x247fffa8
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, edi
call dword [edi]
test eax, eax
jl 0x247fffa8
inc word [ebx]
jmp 0x247fffa8
mov eax, dword [esp + 0x58]
mov cl, byte [esp + 0x18c]
mov dl, byte [eax + 0x1c]
and dl, 1
neg dl
sbb edx, edx
and edx, 0xfffffff4
add edx, 0xe
test cl, cl
mov dword [esp + 0x1c], edx
je 0x247ffee3
cmp dword [eax + 0x20], 2
jne 0x247ffee3
or edx, 0x20
mov dword [esp + 0x1c], edx
cmp word [esp + 0x184], 0
mov ecx, dword [esp + 0x188]
mov eax, 1
jbe 0x247fffac
test dword [ecx], edx
jne 0x247fff1f
add ecx, 4
mov di, ax
inc eax
cmp di, word [esp + 0x184]
jb 0x247ffefe
mov edi, dword [esp + 0x16c]
jmp 0x247fffac
and eax, 0xffff
shl eax, 0x1c
or edx, eax
mov al, byte [esp + 0x18c]
test al, al
mov dword [esp + 0x1c], edx
je 0x247fff68
mov eax, dword [esp + 0x58]
test byte [eax + 0x1c], 0x40
jne 0x247fff4e
mov cx, word [esi]
cmp cx, word [0x2480e39c]
jne 0x247fff68
mov al, byte [esp + 0x11]
test al, al
je 0x247fff63
mov eax, dword [esp + 0x20]
or ah, 0x10
mov dword [esp + 0x20], eax
jmp 0x247fff77
or edx, 0x40
jmp 0x247fff73
mov al, byte [esp + 0x11]
test al, al
jne 0x247fff77
or dl, 0x80
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x16c]
lea edx, [esp + 0x24]
lea eax, [esp + 0x1c]
push edx
push eax
push esi
call dword [ecx + 4]
test eax, eax
jl 0x247fff93
inc word [ebx]
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x16c]
mov dword [esp + 0x20], ecx
jmp 0x247fffac
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x247fffbc
mov eax, dword [esp + 0x24]
test eax, eax
je 0x247fffc3
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x54]
mov eax, dword [esp + 0x34]
inc ebp
cmp bp, word [eax + 0x2e]
jb 0x247ffd13
cmp dword [eax + 0x28], 3
jne 0x2480005e
cmp word [eax + 0x30], 0
je 0x2480005e
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x84]
push edx
xor edx, edx
call fcn.247f2d10
test eax, eax
jl 0x2480005a
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x34]
push ecx
push eax
mov edx, dword [eax]
mov dword [esp + 0x20], eax
call dword [edx + 0xc]
test eax, eax
jl 0x24800069
mov eax, dword [esp + 0x34]
mov ecx, 0x10
mov edi, 0x2480c868
mov esi, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x2480005e
test byte [eax + 0x37], 2
je 0x247ffb22
jmp 0x2480005e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x4c]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x24800094
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
add ecx, 0xffff
sub eax, 8
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
add edx, 8
inc eax
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
cmp ax, word [edx + 0x5c]
jb 0x247ff7c1
mov ebp, dword [esp + 0x60]
mov bl, byte [esp + 0x13]
test ebp, ebp
je 0x248000c9
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
je 0x248000e1
mov eax, dword [esp + 0x54]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
mov ecx, dword [esp + 0x5c]
push ecx
call esi
cmp word [esp + 0x184], 0
jne 0x24800102
mov edx, dword [esp + 0x17c]
cmp dword [edx], 0
jne 0x24800102
mov eax, dword [esp + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [esp + 0x74]
test esi, esi
je 0x24800131
mov ecx, esi
call fcn.24802870
push esi
call fcn.248033a0
add esp, 4
jmp 0x24800131
mov ecx, dword [edi + 0x10]
push 0x80040201
mov dword [esp + 0x48], 0x80040201
call fcn.247f2930
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x158
ret 0x28
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, edi
call dword [edi]
test eax, eax
jl 0x247ffcbf
inc word [ebx]
jmp 0x247ffcbf
mov edx, dword [esp + 0x50]
mov al, byte [esp + 0x3c]
test al, 2
mov edx, dword [edx + 0x10]
mov dword [esp + 0x1c], edx
je 0x24800190
dec edx
neg edx
sbb edx, edx
and edx, 0xfffffff0
add edx, 0x10
mov dword [esp + 0x1c], edx
cmp word [esp + 0x184], 0
mov ecx, dword [esp + 0x188]
mov eax, 1
jbe 0x247ffcc3
test dword [ecx], edx
jne 0x248001cc
add ecx, 4
mov di, ax
inc eax
cmp di, word [esp + 0x184]
jb 0x248001ab
mov edi, dword [esp + 0x16c]
jmp 0x247ffcc3
and eax, 0xffff
shl eax, 0x1c
or edx, eax
mov al, byte [esp + 0x18c]
test al, al
mov dword [esp + 0x1c], edx
je 0x24800215
mov eax, dword [esp + 0x50]
test byte [eax + 0x30], 0x40
jne 0x248001fb
mov cx, word [esi]
cmp cx, word [0x2480e39c]
jne 0x24800215
mov al, byte [esp + 0x11]
test al, al
je 0x24800210
mov eax, dword [esp + 0x20]
or ah, 0x10
mov dword [esp + 0x20], eax
jmp 0x24800224
or edx, 0x40
jmp 0x24800220
mov al, byte [esp + 0x11]
test al, al
jne 0x24800224
or dl, 0x80
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x16c]
lea edx, [esp + 0x24]
lea eax, [esp + 0x1c]
push edx
push eax
push esi
call dword [ecx + 4]
test eax, eax
jl 0x24800240
inc word [ebx]
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x16c]
mov dword [esp + 0x20], ecx
jmp 0x247ffcc3