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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4c2038
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x501320]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov eax, dword [0x501320]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x30], esi
mov eax, dword [esi + 0x7c]
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], edi
test eax, eax
jle 0x4201ca
dec eax
mov dword [esi + 0x7c], eax
test eax, eax
jg 0x4201ca
push 0xc
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
mov eax, dword [esi + 0x78]
test eax, eax
jle 0x4201e1
dec eax
mov dword [esi + 0x78], eax
test eax, eax
jg 0x4201e1
push 0xb
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
xor al, al
mov dword [esp + 0xc], eax
test edi, edi
je 0x42025b
jmp 0x4201f0
mov edx, dword [edi + 4]
lea ecx, [edx - 1]
cmp ecx, 0x14
ja case.default.0x4201ff
jmp dword [ecx*4 + 0x4206b4]
mov ecx, dword [esi + 0x60]
mov eax, ecx
and eax, 0x101
cmp eax, 1
je 0x420256
test ecx, 0x100
jne 0x420228
mov eax, dword [esi]
cmp eax, dword [esi + 0x4c]
je 0x4204b9
mov eax, dword [esi]
cmp word [eax - 2], 0xa
setne al
mov dword [esp + 0xc], eax
jmp case.0x4201ff.1
test byte [esi + 0x60], 2
jne 0x420256
mov ecx, dword [esi]
cmp ecx, dword [esi + 0x50]
je case.0x4201ff.1
cmp word [ecx], 0xa
je case.0x4201ff.1
mov byte [esp + 0xc], 1
mov eax, dword [esi + 0x7c]
test eax, eax
jle 0x420266
inc eax
mov dword [esi + 0x7c], eax
mov ecx, dword [esp + 0xc]
xor eax, eax
test cl, cl
sete al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004bddec
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x60]
test cl, 4
je 0x42029f
mov eax, dword [esi]
cmp eax, dword [esi + 0x4c]
je 0x4202ab
test cl, 8
je 0x4202af
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
jne 0x4202af
xor cl, cl
jmp 0x42031b
mov eax, dword [esi]
cmp eax, dword [esi + 0x4c]
jne 0x4202be
test ecx, 0x100
je 0x4202e3
movzx eax, word [eax - 2]
mov ecx, eax
movsx eax, al
cmp ecx, eax
jne 0x4202e3
push ecx
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call dword [sym.imp.MSVCR120.dll_strchr]
add esp, 8
mov byte [esp + 0x13], 1
test eax, eax
jne 0x4202e8
mov byte [esp + 0x13], 0
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je 0x420312
movzx eax, word [eax]
mov ecx, eax
movsx eax, al
cmp ecx, eax
jne 0x420312
push ecx
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call dword [sym.imp.MSVCR120.dll_strchr]
add esp, 8
test eax, eax
je 0x420312
mov al, 1
jmp 0x420314
xor al, al
cmp byte [esp + 0x13], al
setne cl
mov al, byte [edi + 8]
and al, 1
cmp cl, al
je 0x420256
jmp 0x4204b9
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je 0x420256
movzx ecx, word [eax]
cmp ecx, 0xa
je 0x420256
cmp ecx, 0xd
je 0x420256
add eax, 2
mov dword [esi], eax
jmp 0x4204b9
mov eax, dword [esi + 0x60]
mov edx, dword [edi + 0x1c]
and eax, 0x80
mov ecx, dword [edi + 0x18]
setne al
movzx eax, al
push eax
push dword [esi + 0x5c]
lea eax, [edx + ecx*2]
mov ecx, dword [esi]
push dword [esi + 0x70]
push eax
push edx
mov edx, dword [esi + 0x50]
call fcn.00421ef0
add esp, 0x14
cmp eax, dword [esi]
je 0x420256
mov dword [esi], eax
jmp 0x4204b9
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je 0x420256
push edi
mov ecx, esi
call fcn.00421ce0
test al, al
je 0x420256
xor al, al
mov dword [esp + 0xc], eax
jmp 0x4204c5
mov eax, dword [esi]
lea ecx, [esp + 0x38]
xorps xmm0, xmm0
mov dword [esp + 0x2c], eax
movdqa xmmword [esp + 0x34], xmm0
cmp edx, 0xb
mov dword [esp + 0x34], eax
lea eax, [esi + 4]
push eax
sete byte [esp + 0x17]
mov dword [esp + 0x48], 0
call fcn.00421840
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x70], 0
mov ecx, esi
push dword [edi + 0x14]
call fcn.00420170
cmp al, byte [esp + 0x13]
jne 0x420431
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esi + 4]
call fcn.0041fa90
mov eax, 1
mov dword [esp + 0xc], eax
jmp 0x42043b
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], 0xffffffff
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], 0
test ecx, ecx
je case.0x4201ff.1
push ecx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
jmp 0x4204b9
mov edx, dword [edi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi]
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x14]
mov edi, dword [esi + 0x10]
cmp dword [eax + 0x14], edi
jae 0x4204b5
mov edi, edi
mov ecx, dword [esi + 4]
dec edi
mov eax, edi
shr eax, 5
lea edx, [ecx + eax*4]
mov ecx, edi
and ecx, 0x1f
mov eax, 1
shl eax, cl
not eax
and dword [edx], eax
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], edi
jb 0x420490
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
test al, al
jne 0x42025b
test edi, edi
je 0x42025b
mov edi, dword [edi + 0xc]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x4201f0
jmp 0x42025b
cmp byte [esi + 0x65], 0
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x2c], ecx
jne 0x4204f4
cmp dword [ecx + 0x14], 0
je case.0x4201ff.1
mov ecx, dword [ecx + 0x14]
mov eax, ecx
mov edx, dword [esi + 4]
and ecx, 0x1f
shr eax, 5
lea edx, [edx + eax*4]
mov eax, 1
shl eax, cl
or dword [edx], eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi]
mov edx, dword [edx + 0x14]
mov dword [ecx + edx*8 + 4], eax
jmp 0x4204b9
mov eax, dword [edi + 0x14]
mov ecx, dword [esi + 4]
shr eax, 5
lea edx, [ecx + eax*4]
mov ecx, dword [edi + 0x14]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [edx], eax
je 0x4204b9
mov eax, dword [esi + 0x14]
mov edx, dword [edi + 0x14]
mov ecx, dword [esi]
mov esi, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov edx, esi
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x14], eax
cmp edx, eax
je 0x420591
mov eax, dword [esi + 0x60]
and eax, 0x80
setne al
movzx eax, al
push eax
push dword [esi + 0x5c]
push dword [esi + 0x70]
push dword [esp + 0x20]
push edx
mov edx, dword [esi + 0x50]
call fcn.00421ef0
mov ecx, eax
add esp, 0x14
cmp ecx, dword [esi]
je 0x420256
mov dword [esi], ecx
jmp 0x4204b9
push edi
mov ecx, esi
call fcn.004218a0
mov ecx, dword [esp + 0xc]
test al, al
movzx ecx, cl
mov dword [esp + 0xc], ecx
mov eax, ecx
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0xc], eax
xor edi, edi
jmp case.0x4201ff.1
mov eax, dword [edi + 8]
mov ecx, esi
shr eax, 1
and al, 1
push 0
movzx eax, al
push eax
push edi
call fcn.00421a80
mov edx, dword [esp + 0xc]
test al, al
mov eax, 1
movzx ecx, dl
cmove ecx, eax
xor edi, edi
mov al, cl
mov dword [esp + 0xc], eax
jmp case.0x4201ff.1
mov edx, dword [edi + 0x14]
mov eax, dword [esi + 0x40]
cmp dword [edx + 0x24], 0
mov ecx, dword [edx + 0x20]
jne 0x42069e
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
mov ecx, esi
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
call fcn.00421a80
mov edx, dword [esp + 0xc]
test al, al
mov eax, 1
movzx ecx, dl
cmove ecx, eax
xor edi, edi
mov al, cl
mov dword [esp + 0xc], eax
jmp case.0x4201ff.1
test dword [esi + 0x60], 0x2020
je 0x42064c
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi]
je 0x420659
cmp byte [esi + 0x74], 0
je 0x420666
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je 0x420666
mov al, 1
xor edi, edi
mov dword [esp + 0xc], eax
jmp case.0x4201ff.1
cmp byte [esi + 0x64], 0
je 0x420677
mov ecx, esi
call fcn.00421e50
test al, al
je 0x42069e
mov eax, dword [esi]
lea edx, [esi + 4]
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x24]
mov eax, dword [edx + 0xc]
push edx
mov dword [ecx + 0xc], eax
call fcn.0041fa90
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x34]
call fcn.0041f6e0
mov byte [esi + 0x64], 1
mov eax, dword [esp + 0xc]
xor edi, edi
jmp case.0x4201ff.1
push 0xd
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
lea ecx, [ecx]
mov ebp, 0x6004204
add al, byte [edx]
cmp eax, dword [edx]
inc edx
add byte [eax + 0x2d004202], dl
add eax, dword [edx]
push edi
add eax, dword [edx]
xchg ebx, eax
add eax, dword [edx]
mov ebp, 0xbd004204
add al, 66
add byte [ecx - 0x46ffbdfd], bh
add eax, dword [edx]
mov ebx, 0x77004205
add al, 66
add cl, ah
add al, 0x42
add byte [eax], ah
add eax, 0x5980042
inc edx
add byte [ebp - 0x3dffbdfc], bh
add eax, 0x5f50042
inc edx
add byte [ebp + 0x3c004204], bh
push es
inc edx
add ah, cl
int3