Function at 0x4873b8
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x4efb65
call fcn.004e1580
sub esp, 0x310
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x44], esi
mov eax, dword [esi + 0xf8]
cmp eax, ebx
je 0x4873da
push ebx
push 2
push ebx
push ebx
push ebx
push ebx
push 8
push eax
call sub.MFC42.DLL_CTreeCtrl::SetItem
mov eax, dword [esi + 0xfc]
push ebx
push 2
push 2
push ebx
push ebx
push ebx
push 8
push eax
mov ecx, esi
call sub.MFC42.DLL_CTreeCtrl::SetItem
mov eax, dword [esi + 0xfc]
push ebx
push 0x10
push ebx
push ebx
push ebx
push ebx
push 8
push eax
mov ecx, esi
call sub.MFC42.DLL_CTreeCtrl::SetItem
mov eax, dword [ebp + 0x18]
mov dword [eax], ebx
cmp dword [esi + 0x108], ebx
jle 0x487d84
mov eax, dword [esi + 0xf8]
cmp eax, ebx
je 0x487d84
push eax
mov ecx, esi
call sub.MFC42.DLL_CTreeCtrl::GetItemData
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x487d84
mov eax, dword [esi + 0x104]
mov edi, dword [eax]
cmp edi, ebx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0xac], edi
je 0x487456
mov eax, dword [edi]
push edi
call dword [eax + 4]
push edi
mov ecx, esi
push dword [esi + 0xf8]
mov dword [ebp - 4], ebx
call fcn.00486e57
test eax, eax
jne 0x487482
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x487d84
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x487d84
call fcn.004cbba4
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x94], edi
je 0x48749c
mov eax, dword [edi]
push edi
call dword [eax + 4]
cmp edi, ebx
je 0x487d73
mov dword [ebp - 0x28], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
push edi
mov byte [ebp - 4], 2
call dword [eax + 0x20]
cmp dword [ebp - 0x28], ebx
jne 0x4874c8
mov eax, dword [edi]
push edi
mov byte [ebp - 4], bl
call dword [eax + 8]
jmp 0x487d73
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [eax], 2
jne 0x4875ab
push 0xffffffffffffffff
push 0x23
push 0x80d0
call sub.MFC42.DLL_AfxMessageBox_1
cmp eax, 2
je 0x487d56
cmp eax, 6
jne 0x4875ab
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
mov eax, dword [eax + 4]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x487515
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x14]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_2
push ebx
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 4
call fcn.0041b4a9
mov eax, dword [esi + 0x108]
mov byte [ebp - 4], 5
cmp eax, ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], ebx
jle 0x487566
mov eax, dword [esi + 0x104]
mov ecx, dword [ebp - 0x10]
push dword [eax + ecx*4]
lea ecx, [ebp - 0x31c]
call fcn.0041b71c
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x34]
jl 0x487544
push dword [ebp - 0x18]
lea ecx, [ebp - 0x31c]
push 0x4c0f72
push dword [ebp - 0x24]
call fcn.0041b90d
lea ecx, [ebp - 0x31c]
call fcn.0041b89a
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 4
call fcn.0041b5c0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
call edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
dec ecx
je 0x48773f
dec ecx
je 0x487681
dec ecx
jne 0x487d56
mov edi, dword [eax + 4]
cmp edi, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x44], edi
je 0x4875d8
mov eax, dword [edi]
push edi
call dword [eax + 4]
cmp dword [esi + 0x108], ebx
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x10], ebx
jle 0x487728
mov eax, dword [esi + 0x104]
mov ecx, dword [ebp - 0x10]
mov edi, dword [eax + ecx*4]
cmp edi, ebx
mov dword [ebp - 0x34], edi
je 0x487604
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
push edi
mov byte [ebp - 4], 0x28
call dword [eax + 0xc]
cmp dword [ebp - 0x1c], ebx
je 0x48762f
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x24]
jmp 0x48763c
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
call fcn.004a1834
mov ecx, eax
call fcn.004a2007
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x27
cmp eax, ebx
je 0x487659
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
mov byte [ebp - 4], 0x26
je 0x487667
mov eax, dword [edi]
push edi
call dword [eax + 8]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [esi + 0x108]
jl 0x4875eb
mov edi, dword [ebp - 0x14]
jmp 0x487728
mov edi, dword [eax + 4]
cmp edi, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x44], edi
je 0x487694
mov eax, dword [edi]
push edi
call dword [eax + 4]
cmp dword [esi + 0x108], ebx
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x18], ebx
jle 0x487728
mov eax, dword [esi + 0x104]
mov ecx, dword [ebp - 0x18]
mov edi, dword [eax + ecx*4]
cmp edi, ebx
mov dword [ebp - 0x34], edi
je 0x4876c0
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov dword [ebp - 0x10], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push edi
mov byte [ebp - 4], 0x25
call dword [eax + 0xc]
cmp dword [ebp - 0x10], ebx
je 0x4876eb
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x24]
jmp 0x4876f8
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x24
cmp eax, ebx
je 0x487709
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
mov byte [ebp - 4], 0x23
je 0x487717
mov eax, dword [edi]
push edi
call dword [eax + 8]
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0x108]
jl 0x4876a7
mov edi, dword [ebp - 0x14]
cmp edi, ebx
mov byte [ebp - 4], 2
je 0x487d4d
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x487d4d
mov eax, dword [esi + 0x104]
mov eax, dword [eax]
cmp eax, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x98], eax
je 0x48775a
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x3c]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call dword [ecx + 0x2c]
cmp dword [ebp - 0x3c], 0xb
jne 0x48779e
push 0xffffffffffffffff
push 0x24
push 0x80b2
call sub.MFC42.DLL_AfxMessageBox_1
cmp eax, 6
je 0x48779e
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x487d56
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x487d56
call fcn.004cbba4
cmp eax, ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0xa8], eax
je 0x4877b6
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 9
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
cmp dword [esi + 0x108], ebx
mov dword [ebp - 0x48], ebx
jle 0x487d09
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
mov eax, dword [eax + 0x104]
mov esi, dword [eax + ecx*4]
cmp esi, ebx
mov dword [ebp - 0xa4], esi
je 0x487808
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp - 0x5c], ebx
mov eax, dword [esi]
lea ecx, [ebp - 0x5c]
push ecx
push esi
mov byte [ebp - 4], 0xb
call dword [eax + 0xc]
cmp dword [ebp - 0x5c], ebx
je 0x487829
mov eax, dword [esi]
push esi
call dword [eax + 0x38]
jmp 0x487cce
cmp esi, ebx
mov dword [ebp - 0x54], ebx
je 0x48783e
mov eax, dword [esi]
lea ecx, [ebp - 0x54]
push ecx
push 0x52b448
push esi
call dword [eax]
cmp esi, ebx
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x2c], ebx
je 0x487857
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
push 0x52a488
push esi
call dword [eax]
cmp esi, ebx
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x30], ebx
je 0x487870
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push 0x52b438
push esi
call dword [eax]
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x4879e3
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x38]
cmp dword [ebp - 0x24], ebx
je 0x48789b
cmp dword [ebp - 0x3c], 0xb
jne 0x487c8b
cmp esi, ebx
mov dword [ebp - 0x1c], ebx
je 0x4878b0
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
push 0x52b448
push esi
call dword [eax]
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x10
call dword [ecx + 0x34]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString_2
cmp dword [ebp - 0x3c], 0xb
mov byte [ebp - 4], 0x11
jne 0x487944
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0xc0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
test eax, eax
jl 0x487939
mov eax, dword [esi]
lea ecx, [ebp - 0x90]
push ecx
push esi
call dword [eax + 0x60]
test eax, eax
jl 0x487939
push 0xffffffffffffffff
push dword [ebp - 0x50]
call fcn.0040294f
pop ecx
mov dword [ebp - 0x20], eax
pop ecx
push dword [ebp - 0x8c]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc0]
mov byte [ebp - 4], 0x12
push dword [ebp - 0x90]
mov ecx, dword [eax]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0xc]
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x11
call edi
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x48796c
push 0xffffffffffffffff
push dword [ebp - 0x50]
call fcn.0040294f
pop ecx
mov dword [ebp - 0x20], eax
pop ecx
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x13
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x11
call edi
mov eax, dword [esi]
push esi
call dword [eax + 0x40]
mov eax, dword [ebp - 0x1c]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x64]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x14
call dword [ecx + 0x24]
push dword [ebp - 0x64]
lea ecx, [ebp - 0x7c]
call sub.MFC42.DLL_CString::CString_2
push dword [eax]
mov byte [ebp - 4], 0x15
call fcn.004d1b65
pop ecx
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x7c]
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x64]
call edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x6c]
call edi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xe
cmp eax, ebx
je 0x487c8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x487c8b
cmp dword [ebp - 0x2c], ebx
je 0x487b0f
push dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
push eax
call fcn.0049fabd
push ebx
mov byte [ebp - 4], 0x16
push dword [ebp - 0x40]
call fcn.004d1e1a
add esp, 0x10
test eax, eax
jne 0x487aba
lea ecx, [ebp - 0x78]
call sub.MFC42.DLL_CString::CString_3
push 0x81e1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x17
call fcn.004dfe8c
mov ecx, eax
push dword [ebp - 0x40]
add eax, 4
mov byte [ebp - 4], 0x18
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
push eax
lea eax, [ebp - 0x78]
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x17
call fcn.004dfece
push ebx
push ebx
push dword [ebp - 0x78]
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x487a8f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x487aa0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x487cd5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x487cd5
cmp dword [ebp - 0x3c], 0xb
jne 0x487ad1
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 0x2c]
call fcn.004256e7
add esp, 0xc
mov eax, dword [esi]
push esi
call dword [eax + 0x40]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
push eax
call fcn.004bbdd2
push dword [ebp - 0x34]
mov byte [ebp - 4], 0x19
call fcn.004d1b65
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
jmp 0x487c8b
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x487c8b
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
mov byte [ebp - 4], 0x1b
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea ecx, [ebp - 0x74]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1c
call sub.MFC42.DLL_CString::CString_3
push dword [ebp - 0x24]
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call sub.MFC42.DLL_CString::operator
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x68]
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x4c]
push eax
call sub.MFC42.DLL_operator_3
cmp dword [ebp - 0x3c], 0xb
mov byte [ebp - 4], 0x1e
jne 0x487bef
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0xd4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
test eax, eax
jl 0x487be4
mov eax, dword [esi]
lea ecx, [ebp - 0x88]
push ecx
push esi
call dword [eax + 0x60]
test eax, eax
jl 0x487be4
push 0xffffffffffffffff
push dword [ebp - 0x4c]
call fcn.0040294f
pop ecx
mov dword [ebp - 0x20], eax
pop ecx
push dword [ebp - 0x84]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xd4]
mov byte [ebp - 4], 0x1f
push dword [ebp - 0x88]
mov ecx, dword [eax]
push edx
push dword [ebp - 0x20]
push eax
call dword [ecx + 0xc]
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x1e
call edi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x487c17
push 0xffffffffffffffff
push dword [ebp - 0x4c]
call fcn.0040294f
pop ecx
mov dword [ebp - 0x20], eax
pop ecx
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x20
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x1e
call edi
mov eax, dword [esi]
push esi
call dword [eax + 0x40]
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x60]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x21
call dword [ecx + 0x18]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x80]
call sub.MFC42.DLL_CString::CString_2
push dword [eax]
mov byte [ebp - 4], 0x22
call fcn.004d1b65
pop ecx
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x80]
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x60]
call edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1b
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x1c]
call edi
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xe
call edi
mov eax, dword [ebp - 0x28]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esi]
push esi
call dword [eax + 0x38]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x487cac
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
je 0x487cbd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0xb
cmp eax, ebx
je 0x487cce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call fcn.0040fff6
pop ecx
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x487ce6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
mov byte [ebp - 4], 9
je 0x487cf4
mov eax, dword [esi]
push esi
call dword [eax + 8]
inc dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax + 0x108]
jl 0x4877e9
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x487d1a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x487d2b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x487d3c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x487d4d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
mov dword [eax], 2
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x487d67
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x70]
mov byte [ebp - 4], bl
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x487d84
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14