Function at 0x423085
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7b0
push ebx
push esi
push edi
mov esi, 0x43763c
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 [0x437658]
cmp ecx, ebx
je 0x42311f
cmp dword [0x437654], ebx
je 0x42311f
mov edi, dword [ebp + 8]
push dword [edi + 0xc]
xor edx, edx
push dword [edi + 8]
call fcn.0042252e
test al, al
je 0x423122
call fcn.00411b6c
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4230fb
push dword [0x437654]
lea eax, [ebp - 0x14]
push eax
push 4
call fcn.004225e8
push dword [ebp - 0x14]
test al, al
jne 0x4230f6
call fcn.0042c085
push ebx
call fcn.00411bd7
push dword [0x437654]
call fcn.0042c085
push dword [0x437658]
call fcn.0042c085
mov dword [0x437654], ebx
mov dword [0x437658], ebx
jmp 0x423122
mov edi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x64]
cmp eax, ebx
je 0x42331b
push 0x10000000
push 0x4e25
push eax
lea ebx, [ebp - 0x1c]
call fcn.00433cd5
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
call fcn.0042d05d
test al, al
je 0x423311
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 0x4232fc
movsx eax, byte [eax]
sub eax, 0x21
je 0x4231c1
dec eax
dec eax
je 0x4231bb
sub eax, 0xa
je 0x4231b5
sub eax, 0x13
je 0x4231af
sub eax, 7
je 0x4231a9
sub eax, 9
je 0x4231a3
sub eax, 0xe
je 0x42319d
mov byte [ebp - 6], 0
jmp 0x4231c5
mov byte [ebp - 6], 4
jmp 0x4231c5
mov byte [ebp - 6], 7
jmp 0x4231c5
mov byte [ebp - 6], 6
jmp 0x4231c5
mov byte [ebp - 6], 2
jmp 0x4231c5
mov byte [ebp - 6], 3
jmp 0x4231c5
mov byte [ebp - 6], 5
jmp 0x4231c5
mov byte [ebp - 6], 1
movsx eax, cl
sub eax, 0x21
je 0x4231f4
dec eax
dec eax
je 0x4231f0
sub eax, 0xa
je 0x4231ec
sub eax, 0x13
je 0x4231e8
sub eax, 0x1e
je 0x4231e4
xor bl, bl
jmp 0x4231f6
mov bl, 4
jmp 0x4231f6
mov bl, 2
jmp 0x4231f6
mov bl, 3
jmp 0x4231f6
mov bl, 5
jmp 0x4231f6
mov bl, 1
cmp byte [ebp - 6], 0
je 0x4231ff
mov dword [ebp - 0x10], edx
test bl, bl
je 0x423206
inc dword [ebp - 0x10]
push dword [edi + 0xc]
mov ecx, dword [ebp - 0x10]
push dword [edi + 8]
xor edx, edx
call fcn.0042252e
test al, al
je 0x4232fc
movsx eax, byte [ebp - 6]
cmp eax, 7
ja case.default.0x42322b
jmp dword [eax*4 + 0x423831]
mov byte [ebp - 5], 1
jmp case.default.0x42322b
mov byte [ebp - 5], 0
jmp case.default.0x42322b
push 0x3c
pop edx
push edx
push esi
lea eax, [ebp - 0x80]
push eax
call fcn.0042c138
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
push esi
push dword [edi + 0xc]
mov dword [ebp - 0x80], edx
push dword [edi + 8]
mov dword [ebp - 0x6c], 0x103
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, 1
jne case.default.0x42322b
cmp dword [ebp - 0x6c], esi
jbe case.default.0x42322b
xor eax, eax
cmp bl, 2
sete al
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.0041814e
jmp case.default.0x42322b
or dword [ebp - 0xc], 1
jmp case.0x42322b.0
push 0x3c
pop edx
push edx
push esi
lea eax, [ebp - 0x80]
push eax
call fcn.0042c138
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
push esi
push dword [edi + 0xc]
mov dword [ebp - 0x80], edx
push dword [edi + 8]
mov dword [ebp - 0x6c], 0x103
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, 1
jne case.default.0x42322b
cmp dword [ebp - 0x6c], esi
jbe case.default.0x42322b
lea esi, [ebp - 0x1f4]
call fcn.0041679f
xor esi, esi
jmp case.default.0x42322b
cmp byte [edi + 0x38], 0
jmp 0x4232f2
cmp byte [edi + 0x38], 1
sete byte [ebp - 5]
cmp byte [ebp - 6], 2
jne 0x423311
mov eax, dword [ebp - 0x10]
push 1
call fcn.0042d09b
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x423160
push dword [ebp - 0x18]
call fcn.0042c085
xor ebx, ebx
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x42338d
push eax
lea esi, [ebp - 0x34]
call fcn.004329af
test al, al
je 0x42338d
mov eax, dword [ebp - 0x2c]
push 0x40a1f8
call fcn.0042ce16
cmp eax, ebx
je 0x42334a
cmp byte [eax + 4], 0
jne 0x42334a
mov byte [ebp - 5], 0
mov eax, dword [ebp - 0x2c]
push 0x40a200
call fcn.0042ce16
cmp eax, ebx
je 0x423365
cmp byte [eax + 4], 0
jne 0x423365
mov byte [ebp - 5], 0
mov eax, dword [ebp - 0x30]
push 0x40a208
call fcn.0042ce16
cmp eax, ebx
je 0x423385
cmp eax, dword [ebp - 0x30]
je 0x423381
cmp byte [eax - 1], 0x2e
jne 0x423385
mov byte [ebp - 5], 0
lea esi, [ebp - 0x34]
call fcn.00432ade
mov eax, dword [edi + 0x64]
cmp eax, ebx
je 0x4233ef
and dword [ebp - 0x18], 0
push 0x10000000
push 0x4e34
push eax
lea ebx, [ebp - 0x18]
call fcn.00433cd5
mov ecx, dword [ebp - 0x18]
mov ebx, eax
call fcn.0042d05d
test al, al
je 0x4233e7
mov esi, ebx
push dword [edi + 0xc]
mov ecx, esi
push dword [edi + 8]
push 4
pop edx
call fcn.0042252e
test al, al
jne 0x4233e0
push 1
mov eax, esi
call fcn.0042d09b
mov esi, eax
test esi, esi
jne 0x4233bb
jmp 0x4233e7
or dword [ebp - 0xc], 0x200
push ebx
call fcn.0042c085
xor ebx, ebx
test byte [ebp - 0xc], 1
jne 0x423413
mov eax, dword [edi + 0x6c]
cmp eax, ebx
je 0x423413
push ebx
push dword [edi + 0xc]
push dword [edi + 8]
push eax
push 3
call fcn.004227e1
test al, al
je 0x423413
or dword [ebp - 0xc], 1
cmp dword [edi + 0x40], 0x21
jb 0x42344b
push 0x44
lea edi, [ebp - 0x68]
pop eax
call fcn.00417527
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x3c]
push 0x21
mov eax, edi
mov ecx, esi
call fcn.0042c0f6
test eax, eax
jne 0x423448
mov al, byte [esi + 0x21]
cmp al, 0x3b
je 0x423444
test al, al
jne 0x423448
or dword [ebp - 0xc], 0x10
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x4c]
mov dword [ebp - 0x10], ebx
cmp eax, ebx
je 0x42348b
cmp word [eax], bx
je 0x42348b
mov eax, dword [edi + 0x50]
cmp eax, ebx
je 0x42348b
cmp word [eax], bx
je 0x42348b
push 0x45
lea esi, [ebp - 0xec]
pop eax
call fcn.0041755d
push dword [edi + 0x50]
mov eax, esi
push dword [edi + 0x4c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042cf39
add esp, 0x10
jmp 0x4234b7
mov eax, dword [edi + 0x54]
cmp eax, ebx
je 0x4234e4
cmp byte [eax], 0
je 0x4234e4
push 0x46
lea esi, [ebp - 0xcc]
pop eax
call fcn.0041755d
push dword [edi + 0x54]
mov eax, esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042cf39
add esp, 0xc
cmp eax, ebx
jle 0x4234e4
add eax, eax
push eax
push dword [ebp - 0x10]
call fcn.0042d7d3
cmp dword [0x43765c], eax
jne 0x4234db
push dword [ebp - 0x10]
call fcn.0042c085
mov dword [ebp - 0x10], ebx
jmp 0x4234e4
or dword [ebp - 0xc], 0x20
mov dword [0x43765c], eax
mov eax, dword [edi + 8]
xor esi, esi
mov ebx, 0x80
cmp eax, esi
je 0x423597
push 8
pop edx
cmp dword [edi + 0xc], edx
jbe 0x423597
push eax
mov eax, edx
mov ecx, 0x40a10c
call fcn.0042cc3c
test eax, eax
jne 0x423597
lea eax, [ebp - 0x7ac]
call fcn.00419601
cmp byte [edi + 0x38], 0
jne 0x423566
test byte [ebp - 0x768], bl
je 0x423566
push dword [edi + 8]
lea esi, [ebp - 0x34]
call fcn.004329af
cmp al, 1
jne 0x423564
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x42355c
call fcn.0042cc16
push eax
push ecx
call fcn.00422e88
cmp al, 1
jne 0x42355c
or dword [ebp - 0xc], ebx
mov byte [ebp - 5], al
lea esi, [ebp - 0x34]
call fcn.00432ade
xor esi, esi
cmp byte [edi + 0x38], 1
jne 0x423597
test dword [ebp - 0x768], 0x1000
je 0x423597
mov ecx, dword [edi + 0x44]
cmp ecx, esi
je 0x423597
mov eax, dword [edi + 0x48]
cmp eax, esi
jbe 0x423597
push eax
push ecx
call fcn.00422e88
cmp al, 1
jne 0x423597
or dword [ebp - 0xc], ebx
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0xff
jne 0x4235b0
cmp byte [edi + 0x38], 1
jne 0x4235a8
cmp dword [edi + 0x48], esi
ja 0x4235b6
test byte [ebp - 0xc], 0x20
je 0x4235ba
jmp 0x4235b6
cmp byte [ebp - 5], 1
jne 0x4235ba
or dword [ebp - 0xc], 8
test byte [ebp - 0xc], 8
je 0x4235f3
lea eax, [ebp - 0x7ac]
call fcn.00419601
test dword [ebp - 0x768], 0x40000000
je 0x4235f3
mov eax, dword [edi + 8]
cmp eax, esi
je 0x4235f3
cmp dword [edi + 0xc], 5
jbe 0x4235f3
mov al, byte [eax + 4]
cmp al, 0x73
je 0x4235f3
cmp al, 0x53
je 0x4235f3
and dword [ebp - 0xc], 0xfffffff7
test dword [ebp - 0xc], 0x208
je 0x4237f5
mov eax, dword [edi + 0x48]
xor bl, bl
cmp eax, esi
jne 0x42361b
push 0x3f
lea edi, [ebp - 0x28]
pop eax
call fcn.00417527
mov eax, edi
push eax
push 7
jmp 0x423676
test byte [ebp - 0xc], 0x10
je 0x42365d
push dword [edi + 0x44]
call fcn.0042c4e3
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x4237ee
xor eax, eax
cmp dword [edi + 0x48], esi
jbe 0x423682
mov ecx, dword [ebp - 0x14]
lea edx, [eax + ecx]
mov cl, byte [edx]
cmp cl, 0x26
jne 0x42364d
mov byte [edx], 0xa
jmp 0x423655
cmp cl, 0x2b
jne 0x423655
mov byte [edx], 0x20
inc eax
cmp eax, dword [edi + 0x48]
jb 0x42363b
jmp 0x423682
cmp dword [edi + 0x40], esi
jne 0x4237ee
push 0x40
lea edi, [ebp - 0x2c]
pop eax
call fcn.00417527
mov eax, edi
push eax
push 9
pop eax
call fcn.0042c4e3
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], esi
je 0x4237ee
lea edi, [ebp - 0x1c]
call fcn.0041819d
mov edi, dword [ebp + 8]
push dword [edi + 8]
mov eax, dword [edi + 0xc]
push esi
call fcn.0042c2c5
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x4237d7
push 0x3c
pop edx
push edx
push esi
lea eax, [ebp - 0xc4]
push eax
call fcn.0042c138
lea eax, [ebp - 0xc4]
push eax
push esi
push dword [edi + 0xc]
mov dword [ebp - 0xc4], edx
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
cmp eax, 1
jne 0x4237cf
push 0x3e
lea esi, [ebp - 0x1fc]
pop eax
call fcn.0041755d
push 0x41
lea esi, [ebp - 0x5c]
pop eax
call fcn.0041755d
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 - 0x24], eax
call esi
mov dword [ebp - 0x44], eax
xor eax, eax
cmp dword [ebp - 0xb8], 4
sete al
add eax, 0xb
test byte [ebp - 0xc], 0x80
mov dword [ebp - 0x3c], eax
je 0x423739
mov dword [ebp - 0x3c], 0xd
mov ecx, dword [ebp - 0x10]
mov eax, 0x402724
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x42374b
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
test ecx, ecx
je 0x423758
mov dword [ebp - 0x40], ecx
mov esi, dword [edi + 0x30]
mov edx, 0x40a218
mov dword [ebp - 0x20], edx
test esi, esi
je 0x42376a
mov dword [ebp - 0x20], 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
lea ecx, [ebp - 0x5c]
jne 0x42379c
mov ecx, 0x402724
push dword [ebp - 0x14]
push dword [ebp - 0x38]
push dword [ebp - 0x40]
push dword [ebp - 0x20]
push dword [ebp - 0x44]
push dword [ebp - 0x24]
push eax
push esi
push ebx
push edx
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x1fc]
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x3c]
call fcn.00426ba7
add esp, 0x40
mov bl, al
push dword [ebp - 0x18]
call fcn.0042c085
push dword [ebp - 0x1c]
call fcn.0042c085
push dword [ebp - 0x14]
call fcn.0042c085
mov edi, dword [ebp + 8]
test bl, bl
jne 0x4237f5
and dword [ebp - 0xc], 0xfffffdf7
push dword [ebp - 0x10]
call fcn.0042c085
mov ebx, dword [ebp - 0xc]
test bl, 1
jne 0x423826
mov esi, edi
call fcn.00422bdc
test al, al
je 0x423813
or ebx, 2
test bl, 0x10
je 0x423826
mov eax, edi
call fcn.00422c9a
test al, al
je 0x423826
or ebx, 4
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4