Function at 0x541040
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.0053c7b0
mov dword [esp + 0x28], eax
mov eax, dword [eax]
test eax, 0x10000
je 0x5410e3
lea ecx, [esp + 0x74]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
mov ecx, esi
call fcn.0053d900
mov ecx, eax
call fcn.00500ae0
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
push ebx
push ecx
push str.QDateTimeParser::parseSection_Internal_error___s__d_
call fcn.004f8770
mov edx, dword [esp + 0x80]
add esp, 0xc
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x5410bc
mov ecx, dword [esp + 0x74]
push ecx
call fcn.005057e0
add esp, 4
mov edx, dword [esp + 0x70]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x5410d6
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004ff160
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.0053c7b0
mov edx, dword [eax + 8]
mov eax, dword [eax]
push edx
push eax
mov ecx, esi
call fcn.0053e4d0
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.005008c0
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 0x541210
je case.0x54114e.2
dec eax
cmp eax, 0xf
ja case.0x54114e.3
movzx edx, byte [eax + 0x541720]
jmp dword [edx*4 + 0x541714]
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0053e840
lea ecx, [eax + 1]
cmp ecx, 5
ja case.default.0x54116f
jmp dword [ecx*4 + 0x541730]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov dword [edx], 2
jmp 0x5411c9
add eax, 0xfffffffe
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x74]
mov dword [eax], 1
jmp 0x5411c9
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x1c], 0
mov dword [ecx], 1
jmp 0x5411c9
mov edx, dword [esp + 0x74]
mov dword [edx], 0
jmp 0x5416ce
mov eax, dword [esp + 0x74]
cmp dword [eax], 0
je 0x5416ce
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.00500840
push eax
mov eax, dword [esp + 0x74]
push esi
push eax
mov ecx, edi
call fcn.00505010
lea ecx, [esp + 0x44]
call fcn.00401110
lea ecx, [esp + 0x64]
call fcn.00401110
jmp 0x5416ce
cmp eax, 0x400
jg 0x54122f
je case.0x54114e.2
cmp eax, 0x100
je case.0x54114e.2
cmp eax, 0x200
jmp 0x54123f
cmp eax, 0x800
je case.0x54114e.2
cmp eax, 0x1000
je 0x5412d1
lea edx, [esp + 0x30]
push edx
push ecx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0053d900
mov ecx, eax
call fcn.00500ae0
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push edx
push str.QDateTimeParser::parseSection_Internal_error___s__d_
call fcn.004f8770
mov eax, dword [esp + 0x3c]
add esp, 0xc
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x54128c
mov edx, dword [esp + 0x30]
push edx
call fcn.005057e0
add esp, 4
mov eax, dword [esp + 0x34]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5412a6
mov edx, dword [esp + 0x34]
push edx
call fcn.004ff160
add esp, 4
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5410d6
mov edx, dword [esp + 0x14]
push edx
call fcn.004ff160
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.0x54114e.2
cmp ecx, 0x200
jne 0x54136b
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.0053c600
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.0053bdd0
lea ecx, [esp + 0x64]
mov ebp, eax
call fcn.0053bdd0
cmp ebp, eax
jne 0x541343
lea ecx, [esp + 0x64]
call fcn.0053bdf0
jmp 0x541347
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.00503200
push eax
mov ecx, esi
call fcn.0053d640
lea ecx, [esp + 0x4c]
jmp 0x54138e
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 1
lea edx, [esp + 0x60]
push edx
call fcn.00503200
push eax
mov ecx, esi
call fcn.0053c8a0
lea ecx, [esp + 0x50]
mov dword [esp + 0x1c], eax
call fcn.00401110
cmp dword [esp + 0x1c], 0xffffffff
je 0x5413f8
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.00500840
push eax
mov eax, dword [esp + 0x74]
push esi
push eax
mov ecx, edi
call fcn.00505010
lea ecx, [esp + 0x54]
call fcn.00401110
lea ecx, [esp + 0x64]
call fcn.00401110
jmp 0x5416ce
mov ecx, dword [esp + 0x74]
mov dword [ecx], 1
jmp 0x5416ce
xor eax, eax
cmp ebp, eax
jne 0x541424
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [edx], 1
jmp 0x5416ce
lea ecx, [esp + 0x38]
call fcn.0053c5c0
push eax
push ebx
mov ecx, esi
call fcn.0053e1a0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x541458
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x541458
mov edx, dword [esp + 0x38]
push edx
call fcn.005c396f
add esp, 4
lea ecx, [esp + 0x58]
call fcn.00536fa0
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 0x5414af
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.004fe550
test al, al
jne 0x5414a9
inc edi
cmp edi, ebp
jl 0x541485
jmp 0x5414af
mov ebp, edi
mov dword [esp + 0x3c], ebp
cmp dword [esp + 0x24], ebp
lea eax, [esp + 0x24]
jl 0x5414bd
lea eax, [esp + 0x3c]
mov edi, dword [eax]
cmp edi, 1
jl 0x541524
mov ebp, dword [esp + 0x40]
jmp 0x5414d0
push edi
lea ecx, [esp + 0x24]
call fcn.00502f30
push 0xa
lea edx, [esp + 0x15]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
call fcn.00538650
cmp byte [esp + 0x11], 0
je 0x541513
mov ecx, dword [esp + 0x28]
cmp dword [ecx], 0x10
jne 0x54150f
cmp eax, 0xc
jle 0x54150b
mov byte [esp + 0x11], 0
jmp 0x541513
jne 0x54150f
xor eax, eax
cmp eax, ebp
jle 0x54151b
dec edi
cmp edi, 1
jge 0x5414d0
jmp 0x541524
mov dword [esp + 0x18], edi
cmp eax, 0xffffffff
jne 0x541575
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.004ff230
test al, al
je 0x541566
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x74]
mov dword [ecx], 1
jmp 0x5416b4
mov edx, dword [esp + 0x74]
mov dword [edx], 0
jmp 0x5416b4
mov ebp, eax
mov eax, ebx
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
mov dword [esp + 0x24], ebp
call fcn.0053ee00
cmp edi, dword [esp + 0x24]
sete bl
test bl, bl
jne 0x5415bf
mov edx, dword [esp + 0x3c]
and edx, 8
je 0x5415bf
mov eax, dword [esp + 0x24]
cmp edi, eax
jge 0x5415bf
sub eax, edi
jmp 0x5415b0
lea ebp, [ebp + ebp*4]
add ebp, ebp
sub eax, 1
jne 0x5415b0
mov dword [esp + 0x1c], ebp
mov edi, dword [esp + 0x64]
push edi
mov ecx, esi
call fcn.0053e300
cmp ebp, eax
jge 0x5415e1
mov ecx, dword [esp + 0x74]
xor eax, eax
test bl, bl
sete al
mov dword [ecx], eax
jmp 0x5416b4
cmp ebp, dword [esp + 0x40]
jle 0x5415f6
mov edx, dword [esp + 0x74]
mov dword [edx], 1
jmp 0x5416b4
test bl, bl
jne 0x5416aa
mov eax, dword [esp + 0x3c]
and eax, 3
cmp eax, 3
jne 0x5416aa
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x20]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00540680
test al, al
je 0x541557
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], 0x70f0d4
mov edx, 0x70f0d4
mov eax, 1
lock xadd dword [edx], eax
lea ecx, [esp + 0x34]
call fcn.00502f70
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.00502270
mov ecx, dword [esp + 0x2c]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x54169e
mov eax, dword [esp + 0x2c]
push eax
call fcn.004ff160
add esp, 4
mov eax, dword [esp + 0x6c]
add dword [eax], esi
mov dword [esp + 0x18], edi
jmp 0x5416b4
mov edx, dword [esp + 0x74]
mov dword [edx], 2
mov eax, dword [esp + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x5416ce
mov edx, dword [esp + 0x20]
push edx
call fcn.004ff160
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x5416dc
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov edx, dword [esp + 0x74]
cmp dword [edx], 0
je 0x5416eb
mov esi, dword [esp + 0x1c]
jmp 0x5416ee
or esi, 0xffffffff
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x541708
mov edx, dword [esp + 0x14]
push edx
call fcn.004ff160
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x1c