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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
push edi
push ebx
mov esi, ecx
mov dword [eax], 0
mov dword [esp + 0x20], 0
call fcn.00503680
mov dword [esp + 0x28], eax
mov eax, dword [eax]
test eax, 0x10000
je 0x507fc3
lea ecx, [esp + 0x74]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
mov ecx, esi
call fcn.005047d0
mov ecx, eax
call fcn.004c7ad0
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
push ebx
push ecx
push str.QDateTimeParser::parseSection_Internal_error___s__d_
call fcn.004bf6c0
mov edx, dword [esp + 0x80]
add esp, 0xc
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x507f9c
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004cc7c0
add esp, 4
mov edx, dword [esp + 0x70]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x507fb6
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004c6150
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x1c
push ebx
mov ecx, esi
call fcn.00503680
mov edx, dword [eax + 8]
mov eax, dword [eax]
push edx
push eax
mov ecx, esi
call fcn.005053a0
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x68]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov dword [esp + 0x30], eax
call fcn.004c78b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov ebp, dword [eax + 8]
mov ecx, dword [ecx]
mov eax, ecx
cmp eax, 0x20
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], 0
jg 0x5080f0
je case.0x50802e.2
dec eax
cmp eax, 0xf
ja case.0x50802e.3
movzx edx, byte [eax + 0x508600]
jmp dword [edx*4 + 0x5085f4]
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00505710
lea ecx, [eax + 1]
cmp ecx, 5
ja case.default.0x50804f
jmp dword [ecx*4 + 0x508610]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov dword [edx], 2
jmp 0x5080a9
add eax, 0xfffffffe
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x74]
mov dword [eax], 1
jmp 0x5080a9
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x1c], 0
mov dword [ecx], 1
jmp 0x5080a9
mov edx, dword [esp + 0x74]
mov dword [edx], 0
jmp 0x5085ae
mov eax, dword [esp + 0x74]
cmp dword [eax], 0
je 0x5085ae
mov eax, dword [edi]
mov dword [esp + 0x64], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [esp + 0x18]
push esi
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x1c]
call fcn.004c7830
push eax
mov eax, dword [esp + 0x74]
push esi
push eax
mov ecx, edi
call fcn.004cbff0
lea ecx, [esp + 0x44]
call fcn.004010b1
lea ecx, [esp + 0x64]
call fcn.004010b1
jmp 0x5085ae
cmp eax, 0x400
jg 0x50810f
je case.0x50802e.2
cmp eax, 0x100
je case.0x50802e.2
cmp eax, 0x200
jmp 0x50811f
cmp eax, 0x800
je case.0x50802e.2
cmp eax, 0x1000
je 0x5081b1
lea edx, [esp + 0x30]
push edx
push ecx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.005047d0
mov ecx, eax
call fcn.004c7ad0
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push edx
push str.QDateTimeParser::parseSection_Internal_error___s__d_
call fcn.004bf6c0
mov eax, dword [esp + 0x3c]
add esp, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x50816c
mov edx, dword [esp + 0x30]
push edx
call fcn.004cc7c0
add esp, 4
mov eax, dword [esp + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x508186
mov edx, dword [esp + 0x34]
push edx
call fcn.004c6150
add esp, 4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x507fb6
mov edx, dword [esp + 0x14]
push edx
call fcn.004c6150
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x1c
mov eax, dword [esp + 0x28]
cmp dword [eax + 8], 3
jl case.0x50802e.2
cmp ecx, 0x200
jne 0x50824b
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
mov dword [esp + 0x6c], 1
call edx
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x48]
call fcn.005034d0
mov edx, dword [esp + 0x60]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x60]
call fcn.00502ca0
lea ecx, [esp + 0x64]
mov ebp, eax
call fcn.00502ca0
cmp ebp, eax
jne 0x508223
lea ecx, [esp + 0x64]
call fcn.00502cc0
jmp 0x508227
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
push ecx
push ebx
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.004ca1e0
push eax
mov ecx, esi
call fcn.00504510
lea ecx, [esp + 0x4c]
jmp 0x50826e
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 1
lea edx, [esp + 0x60]
push edx
call fcn.004ca1e0
push eax
mov ecx, esi
call fcn.00503770
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], eax
call fcn.004010b1
cmp dword [esp + 0x1c], 0xffffffff
je 0x5082d8
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x74]
xor eax, eax
cmp esi, dword [ecx + 8]
mov ecx, 1
sete al
inc eax
mov dword [edx], eax
mov eax, dword [edi]
mov dword [esp + 0x64], eax
lock xadd dword [eax], ecx
push esi
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x1c]
call fcn.004c7830
push eax
mov eax, dword [esp + 0x74]
push esi
push eax
mov ecx, edi
call fcn.004cbff0
lea ecx, [esp + 0x54]
call fcn.004010b1
lea ecx, [esp + 0x64]
call fcn.004010b1
jmp 0x5085ae
mov ecx, dword [esp + 0x74]
mov dword [ecx], 1
jmp 0x5085ae
xor eax, eax
cmp ebp, eax
jne 0x508304
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [edx], 1
jmp 0x5085ae
lea ecx, [esp + 0x38]
call fcn.00503490
push eax
push ebx
mov ecx, esi
call fcn.00505070
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x508338
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x508338
mov edx, dword [esp + 0x38]
push edx
call fcn.0058125d
add esp, 4
lea ecx, [esp + 0x58]
call fcn.004fdf70
mov eax, dword [esp + 0x14]
mov byte [esp + 0x11], 1
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], eax
mov ecx, 1
lock xadd dword [eax], ecx
xor edi, edi
test ebp, ebp
jle 0x50838f
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
mov cx, word [eax + edi*2]
mov word [esp + 0x12], cx
lea ecx, [esp + 0x12]
call fcn.004c5540
test al, al
jne 0x508389
inc edi
cmp edi, ebp
jl 0x508365
jmp 0x50838f
mov ebp, edi
mov dword [esp + 0x3c], ebp
cmp dword [esp + 0x24], ebp
lea eax, [esp + 0x24]
jl 0x50839d
lea eax, [esp + 0x3c]
mov edi, dword [eax]
cmp edi, 1
jl 0x508404
mov ebp, dword [esp + 0x40]
jmp 0x5083b0
push edi
lea ecx, [esp + 0x24]
call fcn.004c9f10
push 0xa
lea edx, [esp + 0x15]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
call fcn.004ff620
cmp byte [esp + 0x11], 0
je 0x5083f3
mov ecx, dword [esp + 0x28]
cmp dword [ecx], 0x10
jne 0x5083ef
cmp eax, 0xc
jle 0x5083eb
mov byte [esp + 0x11], 0
jmp 0x5083f3
jne 0x5083ef
xor eax, eax
cmp eax, ebp
jle 0x5083fb
dec edi
cmp edi, 1
jge 0x5083b0
jmp 0x508404
mov dword [esp + 0x18], edi
cmp eax, 0xffffffff
jne 0x508455
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov cx, word [eax]
mov esi, dword [esi + 0x48]
mov word [esp + 0x70], cx
mov eax, dword [esi + 8]
push 1
lea edx, [esp + 0x74]
add eax, ebx
push edx
lea ecx, [esi + eax*4 + 0x18]
call fcn.004c6220
test al, al
je 0x508446
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x74]
mov dword [ecx], 1
jmp 0x508594
mov edx, dword [esp + 0x74]
mov dword [edx], 0
jmp 0x508594
mov ebp, eax
mov eax, ebx
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov dword [esp + 0x24], ebp
call fcn.00505cd0
cmp edi, dword [esp + 0x24]
sete bl
test bl, bl
jne 0x50849f
mov edx, dword [esp + 0x3c]
and edx, 8
je 0x50849f
mov eax, dword [esp + 0x24]
cmp edi, eax
jge 0x50849f
sub eax, edi
jmp 0x508490
lea ebp, [ebp + ebp*4]
add ebp, ebp
sub eax, 1
jne 0x508490
mov dword [esp + 0x1c], ebp
mov edi, dword [esp + 0x64]
push edi
mov ecx, esi
call fcn.005051d0
cmp ebp, eax
jge 0x5084c1
mov ecx, dword [esp + 0x74]
xor eax, eax
test bl, bl
sete al
mov dword [ecx], eax
jmp 0x508594
cmp ebp, dword [esp + 0x40]
jle 0x5084d6
mov edx, dword [esp + 0x74]
mov dword [edx], 1
jmp 0x508594
test bl, bl
jne 0x50858a
mov eax, dword [esp + 0x3c]
and eax, 3
cmp eax, 3
jne 0x50858a
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x20]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00507560
test al, al
je 0x508437
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov dword [edx], 2
mov eax, dword [eax + 8]
mov esi, edi
sub esi, eax
push esi
push ecx
mov eax, esp
mov ecx, 0x30
mov word [eax], cx
mov dword [esp + 0x34], 0x6c30d4
mov edx, 0x6c30d4
mov eax, 1
lock xadd dword [edx], eax
lea ecx, [esp + 0x34]
call fcn.004c9f50
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
call fcn.004c9250
mov ecx, dword [esp + 0x2c]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x50857e
mov eax, dword [esp + 0x2c]
push eax
call fcn.004c6150
add esp, 4
mov eax, dword [esp + 0x6c]
add dword [eax], esi
mov dword [esp + 0x18], edi
jmp 0x508594
mov edx, dword [esp + 0x74]
mov dword [edx], 2
mov eax, dword [esp + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5085ae
mov edx, dword [esp + 0x20]
push edx
call fcn.004c6150
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x5085bc
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov edx, dword [esp + 0x74]
cmp dword [edx], 0
je 0x5085cb
mov esi, dword [esp + 0x1c]
jmp 0x5085ce
or esi, 0xffffffff
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5085e8
mov edx, dword [esp + 0x14]
push edx
call fcn.004c6150
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x1c