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

Disassembly:
push 0xffffffffffffffff
push 0x4b1f92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x54]
mov dword [esp + 0x40], esi
call fcn.00403960
mov ecx, dword [esp + 0x1f0]
lea eax, [esp + 0x54]
xor ebx, ebx
push eax
mov dword [esp + 0x1e8], ebx
call fcn.0044bcd0
mov ecx, dword [esi + 0x4c]
push eax
call fcn.0040d860
test al, al
je 0x472aab
mov ebp, dword [esp + 0x1ec]
push 0x4d3e14
mov ecx, ebp
call fcn.004991f0
push 0x4cfcb0
mov ecx, ebp
mov esi, eax
call fcn.004991f0
mov ecx, dword [0x4d5f90]
mov edi, eax
mov dword [esp + 0x14], ecx
cmp esi, ebx
mov byte [esp + 0x1e4], 1
je 0x47249a
push str.composeid
lea ecx, [esp + 0x18]
call fcn.004a37e2
push esi
lea ecx, [esp + 0x18]
call fcn.004a37e2
cmp edi, ebx
je 0x4724b6
push str.mode
lea ecx, [esp + 0x18]
call fcn.004a37e2
push edi
lea ecx, [esp + 0x18]
call fcn.004a37e2
mov dl, byte [esp + 0x13]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], dl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov al, byte [esp + 0x13]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x30], al
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x30]
push ebp
push ecx
push str._addressbookpart.html
mov ecx, edi
mov byte [esp + 0x1f0], 3
call fcn.00470fc0
test al, al
je 0x472a6c
lea ecx, [esp + 0x20]
cmp esi, ebx
push ebp
push ecx
jne 0x472523
push str._editaddressbook.html
mov ecx, edi
call fcn.00470fc0
test al, al
jne 0x472537
jmp 0x472a6c
push str._viewaddressbook.html
mov ecx, edi
call fcn.00470fc0
test al, al
je 0x472a6c
mov cl, byte [0x4d83ac]
xor eax, eax
mov byte [esp + 0xd4], cl
mov ecx, 0x41
lea edi, [esp + 0xd5]
lea edx, [esp + 0xd4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40]
push edx
call fcn.004997e0
lea ecx, [esp + 0x44]
call fcn.00489cd0
push ebx
push 1
lea eax, [esp + 0xdc]
push 1
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x1f4], 4
call fcn.00489d20
test al, al
jne 0x4725a3
lea ecx, [esp + 0xd4]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x472a5b
mov ecx, dword [0x4d5f90]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x1e4], 5
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x74]
push 0x64
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esi + 0x44]
call fcn.00499870
test al, al
je 0x4729ac
cmp byte [esp + 0x70], bl
je 0x472a05
mov edi, dword [esp + 0x1f0]
lea eax, [esp + 0x1b]
push ebx
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0x78]
push ecx
push edx
push edi
mov ecx, esi
mov byte [esp + 0x2f], bl
call fcn.00471310
test al, al
je 0x4729ac
cmp byte [esp + 0x1b], bl
jne 0x4725b9
mov esi, str.ADDRESSBOOKCOUNT
lea eax, [esp + 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x47264b
cmp cl, bl
je 0x472647
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x47264b
add eax, 2
add esi, 2
cmp cl, bl
jne 0x472627
xor eax, eax
jmp 0x472650
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x472672
lea ecx, [esp + 0x54]
call fcn.00403ca0
push eax
lea eax, [esp + 0x20]
push 0x4cb160
push eax
call fcn.004a0e91
add esp, 0xc
jmp 0x4726c7
mov esi, str.PROCESSADDRESSBOOKLINK
lea eax, [esp + 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x47269f
cmp cl, bl
je 0x47269b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x47269f
add eax, 2
add esi, 2
cmp cl, bl
jne 0x47267b
xor eax, eax
jmp 0x4726a4
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4726e6
mov eax, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.00479da0
push eax
lea ecx, [esp + 0x24]
push str._processaddressbook_id_s_s
push ecx
call fcn.004a0e91
add esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00489f00
test al, al
je 0x4729ac
jmp 0x4725b9
mov esi, str.LIST
lea eax, [esp + 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x472713
cmp cl, bl
je 0x47270f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x472713
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4726ef
xor eax, eax
jmp 0x472718
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4725b9
lea ecx, [esp + 0x54]
xor ebp, ebp
call fcn.00403ca0
test eax, eax
jle 0x4725b9
mov dword [esp + 0x68], ebx
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x74]
push 0x64
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esi + 0x44]
call fcn.00499870
test al, al
je 0x4729ac
cmp byte [esp + 0x70], bl
je 0x472995
mov edi, dword [esp + 0x1f0]
lea ecx, [esp + 0x13]
push ebx
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x78]
push edx
push eax
push edi
mov ecx, esi
mov byte [esp + 0x27], bl
call fcn.00471310
test al, al
je 0x4729ac
cmp byte [esp + 0x13], bl
jne 0x472737
mov esi, str.TICK
lea eax, [esp + 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4727c9
cmp cl, bl
je 0x4727c5
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4727c9
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4727a5
xor eax, eax
jmp 0x4727ce
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4727fd
push ebp
lea ecx, [esp + 0x58]
call fcn.00499ef0
push eax
push ebp
lea eax, [esp + 0x24]
push str._input_type_checkbox__name_msgsel_d__value__s__
push eax
call fcn.004a0e91
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov ecx, dword [eax - 8]
push ecx
jmp 0x472925
mov esi, str.NICKNAME
lea eax, [esp + 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x47282a
cmp cl, bl
je 0x472826
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x47282a
add eax, 2
add esi, 2
cmp cl, bl
jne 0x472806
xor eax, eax
jmp 0x47282f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x472875
mov esi, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x58]
call fcn.00499ef0
push eax
push esi
push ebp
lea ecx, [esp + 0x60]
call fcn.00499ef0
push eax
mov ecx, edi
call fcn.00479da0
push eax
lea eax, [esp + 0x2c]
push str._a_href__addaddressbook_id_snick_s_s___s__a_
push eax
call fcn.004a0e91
mov eax, dword [esp + 0x34]
add esp, 0x18
mov ecx, dword [eax - 8]
push ecx
jmp 0x472925
mov esi, str.FULLNAME
lea eax, [esp + 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4728a2
cmp cl, bl
je 0x47289e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4728a2
add eax, 2
add esi, 2
cmp cl, bl
jne 0x47287e
xor eax, eax
jmp 0x4728a7
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4728ce
push ebp
lea ecx, [esp + 0x58]
call fcn.00403c50
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x5c]
call fcn.00403c50
jmp 0x472925
mov esi, str.EMAILADDRESS
lea eax, [esp + 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4728fb
cmp cl, bl
je 0x4728f7
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4728fb
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4728d7
xor eax, eax
jmp 0x472900
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x472938
push ebp
lea ecx, [esp + 0x58]
call fcn.00403c60
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x5c]
call fcn.00403c60
push eax
lea ecx, [esp + 0x4c]
call fcn.00489f00
test al, al
je 0x4729ac
jmp 0x472737
mov esi, str.NOTES
lea eax, [esp + 0x70]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x472965
cmp cl, bl
je 0x472961
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x472965
add eax, 2
add esi, 2
cmp cl, bl
jne 0x472941
xor eax, eax
jmp 0x47296a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x472737
push ebp
lea ecx, [esp + 0x58]
call fcn.00403c80
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x5c]
call fcn.00403c80
jmp 0x472925
lea ecx, [esp + 0x54]
inc ebp
call fcn.00403ca0
cmp ebp, eax
jl 0x472733
jmp 0x4725b9
lea ecx, [esp + 0x44]
call fcn.00489e00
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e4], 4
call fcn.004a3625
lea ecx, [esp + 0x44]
mov byte [esp + 0x1e4], 3
call fcn.00489d10
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004a2a3d
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
push edx
jmp 0x472a87
lea ecx, [esp + 0x44]
call fcn.00489e00
mov esi, dword [esp + 0x1ec]
push str.html
push 1
lea eax, [esp + 0xdc]
push 0xc8
push eax
mov ecx, esi
call fcn.00495a70
test al, al
jne 0x472a4a
push ebx
mov ecx, esi
call fcn.00497450
lea ecx, [esp + 0xd4]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e4], 4
call fcn.004a3625
lea ecx, [esp + 0x44]
mov byte [esp + 0x1e4], 3
call fcn.00489d10
mov edx, dword [esp + 0x34]
push edx
call fcn.004a2a3d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
push eax
call fcn.004a2a3d
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1e4], bl
call fcn.004a3625
lea ecx, [esp + 0x54]
mov dword [esp + 0x1e4], 0xffffffff
call fcn.004039a0
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1d8
ret 8