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

Disassembly:
push 0xffffffffffffffff
push 0x44a7f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov eax, dword [esp + 0xc8]
push ebx
push ebp
push esi
mov dl, byte [eax]
mov esi, ecx
lea ecx, [eax + 1]
cmp dl, 0x64
push edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x10], ecx
jne 0x408253
mov al, byte [ecx]
cmp al, 0x65
je 0x4081f0
jmp 0x40797e
mov esi, dword [esp + 0x28]
cmp al, 0x64
je 0x408253
cmp al, 0x6c
je 0x408253
cmp al, 0x69
je 0x408253
mov al, byte [esp + 0x16]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.00401ff0
mov cl, byte [esp + 0x16]
push 0
mov byte [esp + 0x30], cl
lea ecx, [esp + 0x30]
mov dword [esp + 0xd4], 0
call fcn.00401ff0
mov edi, dword [esp + 0x10]
mov byte [esp + 0xd0], 1
mov ecx, edi
mov al, byte [edi]
cmp al, 0x3a
je 0x4079e7
cmp al, 0x65
je 0x4079e7
mov al, byte [edi + 1]
inc edi
cmp al, 0x3a
jne 0x4079db
cmp byte [edi], 0x65
je 0x40822a
push ecx
call fcn.0043aa7c
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], edx
mov edx, dword [0x44e274]
add esp, 4
mov ebx, eax
sub edx, ecx
inc edi
cmp edx, ebx
mov dword [esp + 0x10], edi
ja 0x407a19
call fcn.00446f90
test ebx, ebx
jbe 0x407a67
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x1c]
lea ebp, [eax + ebx]
push ebp
call fcn.00402180
test al, al
je 0x407a67
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
lea edi, [edx + ecx]
mov ecx, ebx
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 + 0x1c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], ebp
mov byte [ecx + ebp], 0
mov al, byte [edi + ebx]
add edi, ebx
cmp al, 0x64
mov dword [esp + 0x10], edi
jne 0x407ade
mov edi, str.info
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.info
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
jne 0x407ac1
mov edi, dword [esp + 0x10]
mov ecx, esi
push edi
call fcn.00407930
test eax, eax
mov dword [esp + 0x10], eax
je 0x40822a
sub eax, edi
mov dword [esi + 4], edi
mov dword [esi + 8], eax
jmp 0x408172
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.00407930
test eax, eax
mov dword [esp + 0x10], eax
je 0x40822a
jmp 0x408172
cmp al, 0x6c
jne 0x407b8f
or ebx, 0xffffffff
mov edi, str.files
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x24]
push str.files
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
jne 0x407b2d
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.00408260
test eax, eax
mov dword [esp + 0x10], eax
je 0x40820e
jmp 0x408172
mov edi, str.announce_list
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x20]
not ecx
dec ecx
push ecx
push str.announce_list
push eax
push 0
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
jne 0x407b72
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004087e0
test eax, eax
mov dword [esp + 0x10], eax
je 0x40820e
jmp 0x408172
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.00408750
test eax, eax
mov dword [esp + 0x10], eax
je 0x40820e
jmp 0x408172
cmp al, 0x69
jne 0x407c57
inc edi
push edi
mov dword [esp + 0x14], edi
call fcn.0043aa7c
mov ebx, eax
mov al, byte [edi]
add esp, 4
cmp al, 0x65
mov ebp, edx
je 0x407bbb
mov al, byte [edi + 1]
inc edi
cmp al, 0x65
jne 0x407baf
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x10]
mov edi, str.piece_length
inc ecx
xor eax, eax
mov dword [esp + 0x10], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x20]
not ecx
dec ecx
push ecx
push str.piece_length
push eax
push 0
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
jne 0x407bf8
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebp
jmp 0x408172
mov edi, str.length
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x24]
push str.length
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.00405440
test eax, eax
jne 0x408172
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
mov edx, eax
or edx, ecx
je 0x407c46
cmp eax, ebx
jne 0x40822a
cmp ecx, ebp
jne 0x40822a
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebp
jmp 0x408172
cmp al, 0x3a
mov ecx, edi
je 0x407c69
cmp al, 0x65
je 0x407c69
mov al, byte [edi + 1]
inc edi
cmp al, 0x3a
jne 0x407c5d
cmp byte [edi], 0x65
je 0x40822a
push ecx
call fcn.0043aa7c
mov ebp, eax
mov eax, dword [0x44e274]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x38]
add esp, 4
sub eax, edx
inc edi
cmp eax, ebp
mov dword [esp + 0x10], edi
ja 0x407c9a
call fcn.00446f90
test ebp, ebp
jbe 0x407ce4
mov ecx, dword [esp + 0x34]
push 0
lea ebx, [ecx + ebp]
lea ecx, [esp + 0x30]
push ebx
call fcn.00402180
test al, al
je 0x407ce4
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov ecx, ebp
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x34], ebx
mov byte [eax + ebx], 0
mov ebx, dword [esp + 0x10]
mov edi, str.pieces
or ecx, 0xffffffff
xor eax, eax
add ebx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebx
push ecx
mov ecx, dword [esp + 0x24]
push str.pieces
xor ebx, ebx
push ecx
push ebx
lea ecx, [esp + 0x28]
call fcn.00405440
cmp eax, ebx
jne 0x407f48
mov edx, dword [esp + 0x44]
push ebx
push 0x14
push edx
push ebp
call fcn.0043ae40
cmp eax, ebx
mov dword [esi + 0x54], eax
jbe 0x40822a
mov ecx, dword [esp + 0x10]
sub ecx, ebp
mov dword [esi + 0x40], ecx
mov ecx, eax
shr ecx, 3
test al, 7
mov dword [esi + 0x48], ecx
je 0x407d4e
inc ecx
mov dword [esi + 0x48], ecx
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x407d5e
push eax
call fcn.00439308
add esp, 4
mov edx, dword [esi + 0x48]
push edx
call fcn.0043a0eb
mov ecx, dword [esi + 0x48]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x44], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x14a]
cmp eax, ebx
je 0x407d95
push eax
call fcn.00439308
add esp, 4
mov eax, dword [esi + 0x48]
push eax
call fcn.0043a0eb
mov ecx, dword [esi + 0x48]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x14a], edi
lea ebp, [esi + 0x58]
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push 0x45f3d8
rep stosb byte es:[edi], al
lea eax, [esp + 0x9c]
push eax
call fcn.004052f0
push str..mem
lea ecx, [esp + 0xc4]
push eax
push ecx
mov byte [esp + 0xec], 2
call fcn.00402480
mov eax, dword [eax + 4]
add esp, 0x1c
cmp eax, ebx
jne 0x407df9
mov eax, 0x44e270
push 0x4558a8
push eax
call fcn.0043adb4
add esp, 8
lea ecx, [esp + 0xb0]
mov esi, eax
push 1
call fcn.00401ff0
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xd4], 1
call fcn.00401ff0
test esi, esi
je 0x408172
push esi
push 8
lea edx, [esp + 0x70]
push 1
push edx
call fcn.0043ac6c
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x78]
add esp, 0x10
cmp eax, dword [edi + 0x88]
jne 0x407eaa
mov ecx, dword [esp + 0x6c]
mov eax, dword [edi + 0x8c]
cmp ecx, eax
jne 0x407eaa
mov eax, dword [edi + 0x44]
test eax, eax
jne 0x407e7b
mov edx, dword [edi + 0x48]
push edx
call fcn.0043a0eb
add esp, 4
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x44]
push esi
push eax
push 1
push ecx
call fcn.0043ac6c
push esi
push 8
add edi, 0xa4
push 1
push edi
call fcn.0043ac6c
push esi
call fcn.0043abef
add esp, 0x24
jmp 0x408172
push esi
call fcn.0043abef
push ebp
lea edx, [esp + 0x78]
push 0x45f3d8
push edx
call fcn.004052f0
push str..mem
push eax
lea eax, [esp + 0xb8]
mov byte [esp + 0xe8], 3
push eax
call fcn.00402480
mov eax, dword [eax + 4]
xor esi, esi
add esp, 0x1c
cmp eax, esi
jne 0x407eec
mov eax, 0x44e270
push eax
call fcn.00439b0a
add esp, 4
lea ecx, [esp + 0xa0]
push 1
call fcn.00401ff0
mov eax, dword [esp + 0x74]
cmp eax, esi
je 0x407f37
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x407f2e
cmp al, 0xff
je 0x407f2e
dec al
mov byte [ecx], al
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
jmp 0x408172
push ecx
call fcn.00439308
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
jmp 0x408172
mov edi, str.announce
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x24]
push str.announce
push ecx
push ebx
lea ecx, [esp + 0x28]
call fcn.00405440
cmp eax, ebx
jne 0x40805d
lea edx, [esp + 0x16]
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004342c0
add esp, 0xc
cmp eax, ebx
jne 0x408172
mov dx, word [esp + 0x16]
mov al, byte [esp + 0x2c]
mov edi, dword [esp + 0x3c]
push ebx
lea ecx, [esp + 0x4c]
mov word [esp + 0x86], dx
mov byte [esp + 0x4c], al
call fcn.00401ff0
mov ecx, dword [0x44e274]
lea edx, [esp + 0x2c]
push ecx
push ebx
push edx
lea ecx, [esp + 0x54]
call fcn.004025b0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
lea eax, [esp + 0x48]
lea ecx, [esp + 0xc0]
push eax
push ecx
lea ecx, [esi + 0x166]
mov byte [esp + 0xd8], 4
call fcn.00409c20
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x408036
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40802d
cmp al, 0xff
je 0x40802d
dec al
mov byte [ecx], al
jmp 0x408036
push ecx
call fcn.00439308
add esp, 4
mov edx, dword [esp + 0x3c]
mov ax, word [esp + 0x16]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esi + 0x144], edx
mov word [esi + 0x148], ax
jmp 0x408172
mov edi, str.name
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, edx
cmp edx, ebx
jb 0x40807a
mov ecx, ebx
mov ebp, dword [esp + 0x1c]
mov edi, str.name
mov esi, ebp
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x408090
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4080bf
cmp edx, ebx
jb 0x4080bf
cmp edx, ebx
setne al
test eax, eax
jne 0x4080bf
mov ecx, dword [0x44e274]
lea edx, [esp + 0x2c]
push ecx
push eax
mov eax, dword [esp + 0x30]
push edx
lea ecx, [eax + 0x68]
call fcn.004025b0
jmp 0x408172
mov edi, str.adurl
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, edx
cmp edx, ebx
jb 0x4080d8
mov ecx, ebx
mov edi, str.adurl
mov esi, ebp
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4080ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408116
cmp edx, ebx
jb 0x408116
cmp edx, ebx
setne al
test eax, eax
jne 0x408116
mov ecx, dword [0x44e274]
lea edx, [esp + 0x2c]
push ecx
push eax
mov eax, dword [esp + 0x30]
push edx
lea ecx, [eax + 0x78]
call fcn.004025b0
jmp 0x408172
mov edi, str.creation_date
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, edx
cmp edx, ebx
jb 0x40812f
mov ecx, ebx
mov edi, str.creation_date
mov esi, ebp
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x408141
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408172
cmp edx, ebx
jb 0x408172
cmp edx, ebx
setne al
test eax, eax
jne 0x408172
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x40815f
mov eax, 0x44e270
push eax
call fcn.0043aa7c
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [ecx + 0x90], eax
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x408199
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x408190
cmp al, 0xff
je 0x408190
dec al
mov byte [ecx], al
jmp 0x408199
push ecx
call fcn.00439308
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], esi
cmp ecx, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0xd0], 0xffffffff
je 0x4081d4
mov al, byte [ecx - 1]
test al, al
je 0x4081ca
cmp al, 0xff
je 0x4081ca
dec al
mov byte [ecx - 1], al
jmp 0x4081d4
dec ecx
push ecx
call fcn.00439308
add esp, 4
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov al, byte [edx]
cmp al, 0x65
jne 0x40797a
mov ecx, edx
lea eax, [ecx + 1]
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret 4
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xd4], 0
call fcn.00401ff0
mov dword [esp + 0xd0], ebx
jmp 0x408248
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xd4], 0
call fcn.00401ff0
mov dword [esp + 0xd0], 0xffffffff
push 1
lea ecx, [esp + 0x1c]
call fcn.00401ff0
xor eax, eax
jmp 0x4081f3