Function at 0x423fde
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c8
push ebx
push esi
push edi
mov esi, 0x437914
xor ebx, ebx
push esi
mov dword [ebp - 0xc], ebx
mov byte [ebp - 5], 0xff
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x437930]
cmp ecx, ebx
je 0x423ecb
cmp dword [0x43792c], ebx
je 0x423ecb
mov edi, dword [ebp + 8]
push dword [edi + 0xc]
xor edx, edx
push dword [edi + 8]
call fcn.004234d7
test al, al
je 0x423ece
call fcn.00426953
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x423ea7
push dword [0x43792c]
lea eax, [ebp - 0x14]
push eax
push 4
call fcn.00423591
push dword [ebp - 0x14]
test al, al
jne 0x423ea2
call fcn.0042b085
push ebx
call fcn.004269c5
push dword [0x43792c]
call fcn.0042b085
push dword [0x437930]
call fcn.0042b085
mov dword [0x43792c], ebx
mov dword [0x437930], ebx
jmp 0x423ece
mov edi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x64]
cmp eax, ebx
je 0x4240c7
push 0x10000000
push 0x4e25
push eax
lea ebx, [ebp - 0x1c]
call fcn.00432c8d
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
call fcn.0042c05d
test al, al
je 0x4240bd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov cl, byte [edx]
xor esi, esi
test cl, cl
je 0x4240a8
movsx eax, byte [eax]
sub eax, 0x21
je 0x423f6d
dec eax
dec eax
je 0x423f67
sub eax, 0xa
je 0x423f61
sub eax, 0x13
je 0x423f5b
sub eax, 7
je 0x423f55
sub eax, 9
je 0x423f4f
sub eax, 0xe
je 0x423f49
mov byte [ebp - 6], 0
jmp 0x423f71
mov byte [ebp - 6], 4
jmp 0x423f71
mov byte [ebp - 6], 7
jmp 0x423f71
mov byte [ebp - 6], 6
jmp 0x423f71
mov byte [ebp - 6], 2
jmp 0x423f71
mov byte [ebp - 6], 3
jmp 0x423f71
mov byte [ebp - 6], 5
jmp 0x423f71
mov byte [ebp - 6], 1
movsx eax, cl
sub eax, 0x21
je 0x423fa0
dec eax
dec eax
je 0x423f9c
sub eax, 0xa
je 0x423f98
sub eax, 0x13
je 0x423f94
sub eax, 0x1e
je 0x423f90
xor bl, bl
jmp 0x423fa2
mov bl, 4
jmp 0x423fa2
mov bl, 2
jmp 0x423fa2
mov bl, 3
jmp 0x423fa2
mov bl, 5
jmp 0x423fa2
mov bl, 1
cmp byte [ebp - 6], 0
je 0x423fab
mov dword [ebp - 0x10], edx
test bl, bl
je 0x423fb2
inc dword [ebp - 0x10]
push dword [edi + 0xc]
mov ecx, dword [ebp - 0x10]
push dword [edi + 8]
xor edx, edx
call fcn.004234d7
test al, al
je 0x4240a8
movsx eax, byte [ebp - 6]
cmp eax, 7
ja case.default.0x423fd7
jmp dword [eax*4 + 0x424521]
mov byte [ebp - 5], 1
jmp case.default.0x423fd7
mov byte [ebp - 5], 0
jmp case.default.0x423fd7
push 0x3c
pop edx
push edx
push esi
lea eax, [ebp - 0x7c]
push eax
call fcn.0042b138
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x7c]
push eax
push esi
push dword [edi + 0xc]
mov dword [ebp - 0x7c], edx
push dword [edi + 8]
mov dword [ebp - 0x68], 0x103
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, 1
jne case.default.0x423fd7
cmp dword [ebp - 0x68], esi
jbe case.default.0x423fd7
xor eax, eax
cmp bl, 2
sete al
push eax
lea eax, [ebp - 0x1ec]
push eax
call fcn.0040bfda
jmp case.default.0x423fd7
or dword [ebp - 0xc], 1
jmp case.0x423fd7.0
push 0x3c
pop edx
push edx
push esi
lea eax, [ebp - 0x7c]
push eax
call fcn.0042b138
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x7c]
push eax
push esi
push dword [edi + 0xc]
mov dword [ebp - 0x7c], edx
push dword [edi + 8]
mov dword [ebp - 0x68], 0x103
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, 1
jne case.default.0x423fd7
cmp dword [ebp - 0x68], esi
jbe case.default.0x423fd7
lea esi, [ebp - 0x1ec]
call fcn.0040fca5
xor esi, esi
jmp case.default.0x423fd7
cmp byte [edi + 0x38], 0
jmp 0x42409e
cmp byte [edi + 0x38], 1
sete byte [ebp - 5]
cmp byte [ebp - 6], 2
jne 0x4240bd
mov eax, dword [ebp - 0x10]
push 1
call fcn.0042c09b
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x423f0c
push dword [ebp - 0x18]
call fcn.0042b085
xor ebx, ebx
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x424141
push eax
lea esi, [ebp - 0x2c]
call fcn.004319b0
test al, al
je 0x424141
mov eax, dword [ebp - 0x28]
push 0x409f98
call fcn.0042be16
cmp eax, ebx
je 0x4240f6
cmp byte [eax + 4], 0
jne 0x4240f6
mov byte [ebp - 5], 0
mov eax, dword [ebp - 0x28]
push 0x409fa0
call fcn.0042be16
cmp eax, ebx
je 0x424111
cmp byte [eax + 4], 0
jne 0x424111
mov byte [ebp - 5], 0
mov eax, dword [ebp - 0x2c]
push 0x409fa8
call fcn.0042be16
cmp eax, ebx
je 0x424131
cmp eax, dword [ebp - 0x2c]
je 0x42412d
cmp byte [eax - 1], 0x2e
jne 0x424131
mov byte [ebp - 5], 0
push dword [ebp - 0x2c]
call fcn.0042b085
push dword [ebp - 0x28]
call fcn.0042b085
mov eax, dword [edi + 0x64]
cmp eax, ebx
je 0x4241a3
and dword [ebp - 0x18], 0
push 0x10000000
push 0x4e34
push eax
lea ebx, [ebp - 0x18]
call fcn.00432c8d
mov ecx, dword [ebp - 0x18]
mov ebx, eax
call fcn.0042c05d
test al, al
je 0x42419b
mov esi, ebx
push dword [edi + 0xc]
mov ecx, esi
push dword [edi + 8]
push 4
pop edx
call fcn.004234d7
test al, al
jne 0x424194
push 1
mov eax, esi
call fcn.0042c09b
mov esi, eax
test esi, esi
jne 0x42416f
jmp 0x42419b
or dword [ebp - 0xc], 0x200
push ebx
call fcn.0042b085
xor ebx, ebx
test byte [ebp - 0xc], 1
jne 0x4241c7
mov eax, dword [edi + 0x6c]
cmp eax, ebx
je 0x4241c7
push ebx
push dword [edi + 0xc]
push dword [edi + 8]
push eax
push 3
call fcn.0042378a
test al, al
je 0x4241c7
or dword [ebp - 0xc], 1
cmp dword [edi + 0x40], 0x21
jb 0x4241ff
push 0x44
lea edi, [ebp - 0x64]
pop eax
call fcn.0040aead
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x3c]
push 0x21
mov eax, edi
mov ecx, esi
call fcn.0042b0f6
test eax, eax
jne 0x4241fc
mov al, byte [esi + 0x21]
cmp al, 0x3b
je 0x4241f8
test al, al
jne 0x4241fc
or dword [ebp - 0xc], 0x10
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x10], ebx
cmp eax, ebx
je 0x42423f
cmp word [eax], bx
je 0x42423f
mov eax, dword [edi + 0x50]
cmp eax, ebx
je 0x42423f
cmp word [eax], bx
je 0x42423f
push 0x45
lea esi, [ebp - 0xe4]
pop eax
call fcn.0040aee3
push dword [edi + 0x50]
mov eax, esi
push dword [edi + 0x4c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042bf39
add esp, 0x10
jmp 0x42426b
mov eax, dword [edi + 0x54]
cmp eax, ebx
je 0x424298
cmp byte [eax], 0
je 0x424298
push 0x46
lea esi, [ebp - 0xc4]
pop eax
call fcn.0040aee3
push dword [edi + 0x54]
mov eax, esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042bf39
add esp, 0xc
cmp eax, ebx
jle 0x424298
add eax, eax
push eax
push dword [ebp - 0x10]
call fcn.0042c7d3
cmp dword [0x4378ac], eax
jne 0x42428f
push dword [ebp - 0x10]
call fcn.0042b085
mov dword [ebp - 0x10], ebx
jmp 0x424298
or dword [ebp - 0xc], 0x20
mov dword [0x4378ac], eax
cmp byte [ebp - 5], 0xff
jne 0x4242b1
cmp byte [edi + 0x38], 1
jne 0x4242a9
cmp dword [edi + 0x48], ebx
ja 0x4242b7
test byte [ebp - 0xc], 0x20
je 0x4242bb
jmp 0x4242b7
cmp byte [ebp - 5], 1
jne 0x4242bb
or dword [ebp - 0xc], 8
test byte [ebp - 0xc], 8
je 0x4242f1
lea eax, [ebp - 0x6c4]
call fcn.0040d321
test byte [ebp - 0x48c], 2
je 0x4242f1
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x4242f1
cmp dword [edi + 0xc], 5
jbe 0x4242f1
mov al, byte [eax + 4]
cmp al, 0x73
je 0x4242f1
cmp al, 0x53
je 0x4242f1
and dword [ebp - 0xc], 0xfffffff7
test dword [ebp - 0xc], 0x208
je 0x4244e7
mov eax, dword [edi + 0x48]
xor esi, esi
xor bl, bl
cmp eax, esi
jne 0x42431b
push 0x3f
lea edi, [ebp - 0x24]
pop eax
call fcn.0040aead
mov eax, edi
push eax
push 7
jmp 0x424376
test byte [ebp - 0xc], 0x10
je 0x42435d
push dword [edi + 0x44]
call fcn.0042b4e3
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x4244e0
xor eax, eax
cmp dword [edi + 0x48], esi
jbe 0x424382
mov ecx, dword [ebp - 0x14]
lea edx, [eax + ecx]
mov cl, byte [edx]
cmp cl, 0x26
jne 0x42434d
mov byte [edx], 0xa
jmp 0x424355
cmp cl, 0x2b
jne 0x424355
mov byte [edx], 0x20
inc eax
cmp eax, dword [edi + 0x48]
jb 0x42433b
jmp 0x424382
cmp dword [edi + 0x40], esi
jne 0x4244e0
push 0x40
lea edi, [ebp - 0x28]
pop eax
call fcn.0040aead
mov eax, edi
push eax
push 9
pop eax
call fcn.0042b4e3
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], esi
je 0x4244e0
lea edi, [ebp - 0x1c]
call fcn.0040c029
mov edi, dword [ebp + 8]
push dword [edi + 8]
mov eax, dword [edi + 0xc]
push esi
call fcn.0042b2c5
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x4244c9
push 0x3c
pop edx
push edx
push esi
lea eax, [ebp - 0xbc]
push eax
call fcn.0042b138
lea eax, [ebp - 0xbc]
push eax
push esi
push dword [edi + 0xc]
mov dword [ebp - 0xbc], edx
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, 1
jne 0x4244c1
push 0x3e
lea esi, [ebp - 0x1f4]
pop eax
call fcn.0040aee3
push 0x41
lea esi, [ebp - 0x58]
pop eax
call fcn.0040aee3
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 8
push ebx
call esi
push 0xa
push ebx
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x40], eax
xor eax, eax
cmp dword [ebp - 0xb0], 4
mov ecx, 0x40952c
sete al
add eax, 0xb
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x20], eax
jne 0x42443c
mov dword [ebp - 0x34], ecx
jmp 0x424442
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], ecx
test eax, eax
je 0x42444f
mov dword [ebp - 0x38], eax
mov esi, dword [edi + 0x30]
mov edx, 0x409fb8
mov dword [ebp - 0x30], edx
test esi, esi
je 0x424461
mov dword [ebp - 0x30], esi
mov ebx, dword [edi + 0x18]
test ebx, ebx
mov eax, edx
cmovne eax, ebx
mov ebx, dword [edi + 0x10]
test ebx, ebx
mov esi, edx
cmovne esi, ebx
mov ebx, dword [edi + 0x28]
mov edi, dword [edi + 0x20]
test ebx, ebx
cmove ebx, edx
test edi, edi
cmovne edx, edi
test byte [ebp - 0xc], 1
je 0x42448e
lea ecx, [ebp - 0x58]
push dword [ebp - 0x14]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x30]
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push eax
push esi
push ebx
push edx
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x1f4]
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.00410b2b
add esp, 0x40
mov bl, al
push dword [ebp - 0x18]
call fcn.0042b085
push dword [ebp - 0x1c]
call fcn.0042b085
push dword [ebp - 0x14]
call fcn.0042b085
mov edi, dword [ebp + 8]
test bl, bl
jne 0x4244e7
and dword [ebp - 0xc], 0xfffffdf7
push dword [ebp - 0x10]
call fcn.0042b085
mov ebx, dword [ebp - 0xc]
test bl, 1
jne 0x424518
mov esi, edi
call fcn.00423b85
test al, al
je 0x424505
or ebx, 2
test bl, 0x10
je 0x424518
mov eax, edi
call fcn.00423c43
test al, al
je 0x424518
or ebx, 4
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4