Function at 0x422660
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], edx
mov byte [ebx], 0
mov dl, byte [esi]
push edi
mov edi, ecx
mov dword [ebp - 8], edi
cmp dl, 0x2d
jne 0x422bcb
cmp byte [esi + 7], dl
jne 0x422bcb
movzx edx, byte [esi + 1]
movzx ebx, byte [esi + 2]
mov eax, edx
shl eax, 8
add eax, ebx
mov ecx, 0x4c57
cmp eax, ecx
jg 0x4228fc
je 0x4228f2
mov ecx, 0x4253
cmp eax, ecx
jg 0x4227cc
je 0x4227c2
add ecx, 0xffffffef
cmp eax, ecx
jg 0x42272a
je 0x422720
sub eax, 0x4147
je 0x4226ee
sub eax, 0xb
je 0x422716
sub eax, 4
je 0x42270c
dec eax
dec eax
je 0x422702
dec eax
dec eax
je 0x4226f8
sub eax, 0x24
jne 0x422b13
mov edi, str.Ares
jmp 0x422b55
mov edi, str.Azureus
jmp 0x422b55
mov edi, str.BitPump
jmp 0x422b55
mov edi, str.Avicora
jmp 0x422b55
mov edi, str.Arctic
jmp 0x422b55
mov edi, str.BitBuddy
jmp 0x422b55
sub eax, 0x4243
je 0x4227b8
dec eax
dec eax
je 0x4227ae
dec eax
je 0x4227a4
dec eax
je 0x42279a
sub eax, 8
je 0x422757
sub eax, 3
jne 0x422b13
mov edi, str.BitRocket
jmp 0x422b55
mov al, byte [esi + 4]
cmp al, 0x41
jne 0x422782
cmp byte [esi + 5], 0x30
jne 0x422782
movzx eax, byte [esi + 6]
sub eax, 0x3d
push eax
push str.Bits_on_Wheels_1.0._d
push dword [ebp - 4]
push edi
call fcn.0048d59f
add esp, 0x10
jmp 0x422f44
movzx ecx, byte [esi + 6]
push ecx
movzx ecx, byte [esi + 5]
movzx eax, al
push ecx
push eax
push str.Bits_on_Wheels__c_c_c
jmp 0x422ec1
mov edi, 0x4f5474
jmp 0x422b55
mov edi, str.Bitflu
jmp 0x422b55
mov edi, str.BitTorrent_SDK
jmp 0x422b55
mov edi, str.BitComet
jmp 0x422b55
mov edi, str.BitSlave
jmp 0x422b55
mov ecx, 0x4654
cmp eax, ecx
jg 0x42288f
je 0x422841
sub eax, 0x4258
je 0x422837
sub eax, 0xec
je 0x42282d
sub eax, 0x10
je 0x422823
sub eax, 0xf1
je 0x422819
sub eax, 0xfd
je 0x42280f
sub eax, 0x11
jne 0x422b13
mov edi, str.electric_sheep
jmp 0x422b55
mov edi, str.EBit
jmp 0x422b55
mov edi, str.DelugeTorrent
jmp 0x422b55
mov edi, str.CTorrent
jmp 0x422b55
mov edi, str.Enhanced_CTorrent
jmp 0x422b55
mov edi, str.Bittorrent_X
jmp 0x422b55
xor edx, edx
movzx ax, byte [esi + edx + 3]
lea ecx, [ebp + edx*2 - 0x14]
mov word [ecx], ax
cmp ax, 0x30
jb 0x422862
cmp ax, 0x39
ja 0x422862
add eax, 0xffffffd0
mov word [ecx], ax
inc edx
cmp edx, 4
jl 0x422843
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push str.FoxTorrent
push str._s__d._d_d_d
push dword [ebp - 4]
push edi
jmp 0x422bbe
sub eax, 0x4845
je 0x4228e8
sub eax, 7
je 0x4228de
dec eax
dec eax
je 0x4228d4
sub eax, 0x306
je 0x4228ca
sub eax, 0xfc
je 0x4228c0
sub eax, 4
jne 0x422b13
mov edi, str.libtorrent
jmp 0x422b55
mov edi, str.Lphant
jmp 0x422b55
mov edi, str.KTorrent
jmp 0x422b55
mov edi, str.Hydranode
jmp 0x422b55
mov edi, str.Halite
jmp 0x422b55
mov edi, str.Helix
jmp 0x422b55
mov edi, str.LimeWire
jmp 0x422b55
mov ecx, 0x5453
cmp eax, ecx
jg 0x4229ec
je 0x4229e2
mov ecx, 0x5344
cmp eax, ecx
jg 0x422980
je 0x422b50
sub eax, 0x4d50
je 0x422976
dec eax
dec eax
je 0x42296c
dec eax
dec eax
je 0x422962
sub eax, 0x3f0
je 0x422958
sub eax, 0x10
je 0x42294e
sub eax, 0x100
jne 0x422b13
mov edi, str.Retriever
jmp 0x422b55
mov edi, str.Qt_4_Torrent_Example
jmp 0x422b55
mov edi, str.QQDownload
jmp 0x422b55
mov edi, str.MoonlightTorrent
jmp 0x422b55
mov edi, str.Miro
jmp 0x422b55
mov edi, str.MooPolice
jmp 0x422b55
sub eax, 0x5347
je 0x4229d8
sub eax, 0xc
je 0x4229ce
sub eax, 7
je 0x4229c4
sub eax, 0x24
je 0x4229ba
sub eax, 0xd0
je 0x4229b0
sub eax, 4
jne 0x422b13
mov edi, str.Transmission
jmp 0x422b55
mov edi, str.Torrent_.NET
jmp 0x422b55
mov edi, str.Shareaza_alpha_beta
jmp 0x422b55
mov edi, str.Shareaza
jmp 0x422b55
mov edi, str.SwarmScope
jmp 0x422b55
mov edi, str.SG_Torrent
jmp 0x422b55
mov edi, str.TorrentStorm
jmp 0x422b55
mov ecx, 0x5759
cmp eax, ecx
jg 0x422aed
je 0x422ae6
sub eax, 0x5454
je 0x422adf
sub eax, 0xf1
je 0x422ad8
sub eax, 7
je 0x422ad1
dec eax
je 0x422ac7
sub eax, 7
je 0x422a3f
sub eax, 0xf3
jne 0x422b13
mov edi, str.Vagaa
jmp 0x422b55
mov ecx, dword [esi + 0x10]
mov eax, str.UDP0
cmp ecx, dword [eax]
jne 0x422a5a
mov edx, str._FAKE__BitSpirit
push dword [ebp - 4]
mov ecx, edi
jmp 0x422db4
movzx eax, byte [esi + 3]
movzx ecx, byte [esi + 4]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 5]
shl eax, 8
or eax, ecx
mov ecx, 0x313330
cmp eax, ecx
mov edi, 0x4f3b98
jl 0x422a84
cmp byte [ebp + 0xc], 0
jne 0x422ab7
cmp eax, 0x313332
jl 0x422a9d
mov ecx, esi
call fcn.004224f4
test al, al
jne 0x422abc
mov edi, 0x4f5208
jmp 0x422abc
cmp eax, ecx
jl 0x422abc
mov ax, word [esi + 8]
mov ecx, 0x3fff
and ax, cx
mov ecx, 0x1f4
cmp ax, cx
jbe 0x422abc
mov edi, 0x4f51e8
sub edi, 0xf0
jmp 0x422b55
mov edi, str.uTorrent_Mac
jmp 0x422b55
mov edi, str.uLeecher
jmp 0x422b55
mov edi, str.uTorrent_Embedded
jmp 0x422b55
mov edi, str.TuoTu
jmp 0x422b55
mov edi, str.Wyzo
jmp 0x422b55
sub eax, 0x584c
je 0x422b50
sub eax, 8
je 0x422b49
sub eax, 4
je 0x422b42
sub eax, 0x1fc
je 0x422b3b
sub eax, 0x1220
je 0x422b34
sub eax, 0x4ce
je 0x422b2d
push ebx
push edx
push str.Unknown__c_c
lea eax, [ebp - 0x3c]
push 0x14
push eax
call fcn.0048d59f
add esp, 0x14
lea edi, [ebp - 0x3c]
jmp 0x422b55
mov edi, str.qBittorrent
jmp 0x422b55
mov edi, str.libTorrent
jmp 0x422b55
mov edi, str.ZipTorrent
jmp 0x422b55
mov edi, str.Xtorrent
jmp 0x422b55
mov edi, str.XanTorrent
jmp 0x422b55
mov edi, str.Xunlei
xor edx, edx
movzx ax, byte [esi + edx + 3]
lea ecx, [ebp + edx*2 - 0x14]
mov word [ecx], ax
cmp ax, 0x30
jb 0x422b75
cmp ax, 0x39
ja 0x422b75
add eax, 0xffffffd0
jmp 0x422b95
cmp ax, 0x41
jb 0x422b86
cmp ax, 0x5a
ja 0x422b86
add eax, 0xffffffc9
jmp 0x422b95
cmp ax, 0x61
jb 0x422b98
cmp ax, 0x7a
ja 0x422b98
add eax, 0xffffff90
mov word [ecx], ax
inc edx
cmp edx, 4
jl 0x422b57
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push edi
push str._s__d._d._d._d
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0048d59f
add esp, 0x20
jmp 0x422f44
mov cl, byte [esi + 4]
cmp cl, 0x2d
jne 0x422c66
cmp byte [esi + 5], cl
jne 0x422c66
movzx ecx, dl
mov eax, ecx
sub eax, 0x41
je 0x422c39
sub eax, 0xe
je 0x422c32
sub eax, 3
je 0x422c2b
dec eax
je 0x422c24
dec eax
je 0x422c1d
dec eax
je 0x422c16
push ecx
push str.Unknown__c
lea eax, [ebp - 0x3c]
push 0x14
push eax
call fcn.0048d59f
add esp, 0x10
lea ecx, [ebp - 0x3c]
jmp 0x422c3e
mov ecx, str.UPnP
jmp 0x422c3e
mov ecx, str.BitTornado
jmp 0x422c3e
mov ecx, str.Shadow
jmp 0x422c3e
mov ecx, str.Tribler
jmp 0x422c3e
mov ecx, str.Osprey_Permaseed
jmp 0x422c3e
mov ecx, 0x4f4f44
xor eax, eax
movzx dx, byte [esi + eax + 1]
mov word [ebp + eax*2 - 0x14], dx
inc eax
cmp eax, 4
jl 0x422c40
xor eax, eax
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x14]
push eax
push ecx
push 0x4f1e04
jmp 0x422e2d
cmp dl, 0x4d
jne 0x422cc4
mov al, byte [esi + 2]
cmp al, 0x2d
jne 0x422cc4
cmp cl, al
jne 0x422c99
cmp byte [esi + 6], al
jne 0x422c99
cmp byte [esi + 7], al
jne 0x422c99
movzx eax, byte [esi + 5]
push eax
movzx eax, byte [esi + 3]
push eax
movzx eax, byte [esi + 1]
push eax
push str.BitTorrent__c._c._c
jmp 0x422ec1
cmp al, 0x2d
jne 0x422cc4
cmp byte [esi + 5], al
jne 0x422cc4
cmp byte [esi + 7], al
jne 0x422cc4
movzx eax, byte [esi + 6]
push eax
movzx eax, cl
push eax
movzx eax, byte [esi + 3]
push eax
movzx eax, byte [esi + 1]
push eax
push str.BitTorrent__c._c_c._c
jmp 0x422ef0
cmp dl, 0x44
jne 0x422d21
cmp byte [esi + 1], 0x4e
jne 0x422d21
cmp byte [esi + 2], 0x41
jne 0x422d21
add esi, 3
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
movsw word es:[edi], word [esi]
push eax
mov byte [ebp - 0xe], 0
call sub.MSVCRT.dll_atoi
push 0x64
pop esi
xor edx, edx
mov ecx, eax
div esi
push edx
xor edx, edx
div esi
mov eax, ecx
mov ecx, 0x2710
push edx
xor edx, edx
div ecx
push eax
push str.DNA__u._u._u
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0048d59f
add esp, 0x1c
mov byte [ebx], 1
jmp 0x422f44
cmp dl, 0x65
jne 0x422d6e
cmp byte [esi + 1], 0x78
jne 0x422d6e
cmp byte [esi + 2], 0x62
jne 0x422d6e
cmp byte [esi + 3], 0x63
jne 0x422d6e
cmp byte [esi + 6], 0x4c
jne 0x422d55
cmp byte [esi + 7], 0x4f
jne 0x422d55
cmp byte [esi + 8], 0x52
jne 0x422d55
cmp byte [esi + 9], 0x44
mov eax, str.BitLord
je 0x422d5a
mov eax, str.BitComet
movzx edx, byte [esi + 5]
push edx
movzx ecx, cl
push ecx
push eax
push str._s__i._i
jmp 0x422ec1
mov cl, byte [esi + 2]
cmp cl, 0x42
jne 0x422dbe
cmp byte [esi + 3], 0x53
jne 0x422dbe
mov ecx, dword [esi + 0x10]
mov eax, str.UDP0
cmp ecx, dword [eax]
jne 0x422d92
mov edx, str.BitSpirit_v2_UDP0
jmp 0x422a50
push 3
add esi, 0xe
pop ecx
push dword [ebp - 4]
mov edi, str.HTTPBT
xor eax, eax
repe cmpsw word [esi], word es:[edi]
mov ecx, dword [ebp - 8]
mov edx, str.BitSpirit_v2_HTTPBT
je 0x422db4
mov edx, str.Unknown_BitSpirit
call fcn.0042260d
jmp 0x422f44
mov al, byte [esi + 1]
cmp al, 0x45
jne 0x422dda
cmp cl, 0x52
jne 0x422dda
cmp byte [esi + 3], 0x53
jne 0x422dda
push str.ERSAnonymous
jmp 0x422f17
cmp dl, 0x41
jne 0x422e10
cmp al, 0x5a
jne 0x422e10
cmp cl, 0x32
jne 0x422e10
cmp byte [esi + 3], 0x35
jne 0x422e10
cmp byte [esi + 4], 0x30
jne 0x422e10
cmp byte [esi + 5], 0x30
jne 0x422e10
cmp byte [esi + 6], 0x42
jne 0x422e10
cmp byte [esi + 7], 0x54
jne 0x422e10
push str.BitTyrant
jmp 0x422f17
cmp dl, 0x42
jne 0x422e3e
cmp al, 0x4c
jne 0x422e3e
cmp cl, 0x5a
jne 0x422e3e
movzx eax, byte [esi + 4]
push eax
movzx eax, byte [esi + 3]
push eax
push str.Blizzard__d._d
push dword [ebp - 4]
push edi
call fcn.0048d59f
add esp, 0x14
jmp 0x422f44
cmp dl, 0x4d
jne 0x422e6e
cmp al, 0x62
jne 0x422e6e
cmp cl, 0x72
jne 0x422e6e
cmp byte [esi + 3], 0x73
jne 0x422e6e
cmp byte [esi + 4], 0x74
jne 0x422e6e
movzx eax, byte [esi + 9]
push eax
movzx eax, byte [esi + 7]
push eax
movzx eax, byte [esi + 5]
push eax
push str.Burst___c._c._c
jmp 0x422ec1
cmp dl, 0x2d
jne 0x422ecf
cmp al, 0x46
jne 0x422e94
cmp cl, 0x47
jne 0x422e94
add esi, 3
push esi
call sub.MSVCRT.dll_atoi
push 0x64
pop ecx
cdq
idiv ecx
push edx
push eax
push str.FlashGet__u._u
jmp 0x422ec1
cmp al, 0x47
jne 0x422ea4
cmp cl, 0x33
jne 0x422ea4
push str.G3_Torrent
jmp 0x422f17
cmp al, 0x4d
jne 0x422ecf
cmp cl, 0x4c
jne 0x422ecf
movzx eax, byte [esi + 7]
push eax
movzx eax, byte [esi + 5]
push eax
movzx eax, byte [esi + 3]
push eax
push str.MLdonkey__c._c._c
push dword [ebp - 4]
push edi
call fcn.0048d59f
add esp, 0x18
jmp 0x422f44
cmp dl, 0x4f
jne 0x422efe
cmp al, 0x50
jne 0x422efe
movzx eax, byte [esi + 5]
push eax
movzx eax, byte [esi + 4]
push eax
movzx eax, byte [esi + 3]
push eax
movzx eax, cl
push eax
push str.Opera__c_c_c_c
push dword [ebp - 4]
push edi
call fcn.0048d59f
add esp, 0x1c
jmp 0x422f44
cmp dl, 0x4c
jne 0x422f25
cmp al, 0x49
jne 0x422f25
cmp cl, 0x4d
jne 0x422f25
cmp byte [esi + 3], 0x45
jne 0x422f25
push str.Limewire
push dword [ebp - 4]
push edi
call fcn.0048d59f
add esp, 0xc
jmp 0x422f44
xor eax, eax
mov word [edi + 0x28], ax
mov cl, byte [eax + esi]
test cl, cl
je 0x422f37
movzx ecx, cl
jmp 0x422f3a
push 0x20
pop ecx
mov word [edi + eax*2], cx
inc eax
cmp eax, 0x14
jl 0x422f2b
pop edi
pop esi
pop ebx
leave
ret 0xc